[Goodies-commits] r7314 - in xfce4-power-manager/trunk: . settings
Ali Abdallah
aliov at xfce.org
Tue May 5 00:26:27 CEST 2009
Author: aliov
Date: 2009-05-04 22:26:27 +0000 (Mon, 04 May 2009)
New Revision: 7314
Modified:
xfce4-power-manager/trunk/ChangeLog
xfce4-power-manager/trunk/settings/xfpm-settings.c
Log:
Fix a crash in setting dialog caused by the previous commit when wrong data is passed to g_signal_connect
Modified: xfce4-power-manager/trunk/ChangeLog
===================================================================
--- xfce4-power-manager/trunk/ChangeLog 2009-05-04 22:15:36 UTC (rev 7313)
+++ xfce4-power-manager/trunk/ChangeLog 2009-05-04 22:26:27 UTC (rev 7314)
@@ -1,4 +1,7 @@
+2009-05-05 0:26 Ali aliov at xfce.org
+ * : Fix a crash in setting dialog caused by the previous commit when wrong data is passed to g_signal_connect
+
2009-05-05 0:14 Ali aliov at xfce.org
* : Making xfpm compiles with the new compiler flags added by Brian
Modified: xfce4-power-manager/trunk/settings/xfpm-settings.c
===================================================================
--- xfce4-power-manager/trunk/settings/xfpm-settings.c 2009-05-04 22:15:36 UTC (rev 7313)
+++ xfce4-power-manager/trunk/settings/xfpm-settings.c 2009-05-04 22:26:27 UTC (rev 7314)
@@ -1136,7 +1136,7 @@
gtk_list_store_append (list_store, &iter);
gtk_list_store_set (list_store, &iter, 0, _("Ask"), 1, 4, -1);
- g_signal_connect (sleep, "changed",
+ g_signal_connect (sleep_w, "changed",
G_CALLBACK(set_sleep_changed_cb), channel);
default_sleep_value = xfconf_channel_get_string (channel, SLEEP_SWITCH_CFG, "Nothing");
@@ -1154,7 +1154,7 @@
1, &list_value, -1);
if ( sleep_val_int == list_value )
{
- gtk_combo_box_set_active_iter (GTK_COMBO_BOX (sleep), &iter);
+ gtk_combo_box_set_active_iter (GTK_COMBO_BOX (sleep_w), &iter);
break;
}
}
More information about the Goodies-commits
mailing list