summaryrefslogtreecommitdiff
path: root/chat/gg2/patches/patch-aj
blob: f0462a22d04f0231d6b1447a1bf58aa5ac558726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aj,v 1.4 2005/09/07 12:41:12 adam Exp $

--- src/plugins/GUI/gui_preferences.c.orig	2005-08-12 08:21:26.000000000 +0000
+++ src/plugins/GUI/gui_preferences.c
@@ -1329,6 +1329,7 @@ void gui_preferences(GtkWidget * widget,
 	{
 		GSList *combo_theme_slist;
 		GSList *combo_icons_slist;
+		GSList *combo_skins_slist;
 		if (plugins_updated)
 		{
 			GIOChannel *ch = g_io_channel_new_file(g_build_filename(config->configdir, "modules.load", NULL), "w",
@@ -1448,7 +1449,7 @@ void gui_preferences(GtkWidget * widget,
 		entry = g_object_get_data(G_OBJECT(adv_vbox), "combo_skins");
 		g_return_if_fail(entry != NULL);
 
-		GSList *combo_skins_slist = g_object_get_data(G_OBJECT(entry), "combo_skins_slist");
+		combo_skins_slist = g_object_get_data(G_OBJECT(entry), "combo_skins_slist");
 
 		if (gtk_combo_box_get_active(GTK_COMBO_BOX(entry))) {
 		    ggadu_config_var_set(gui_handler, "skin", (gpointer) g_strdup(g_slist_nth_data(combo_skins_slist, gtk_combo_box_get_active(GTK_COMBO_BOX(entry)))));