[gnome-control-center] property-editor: use the right signalture for the notify::active callback
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] property-editor: use the right signalture for the notify::active callback
- Date: Fri, 18 Mar 2011 14:45:24 +0000 (UTC)
commit dd397167906b5c36dc3e631ccb85c83f8802afee
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Mar 18 10:42:24 2011 -0400
property-editor: use the right signalture for the notify::active callback
https://bugzilla.gnome.org/show_bug.cgi?id=645143
libgnome-control-center/gconf-property-editor.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libgnome-control-center/gconf-property-editor.c b/libgnome-control-center/gconf-property-editor.c
index e0d6907..7dc5ba1 100644
--- a/libgnome-control-center/gconf-property-editor.c
+++ b/libgnome-control-center/gconf-property-editor.c
@@ -447,8 +447,9 @@ peditor_boolean_widget_changed (GConfPropertyEditor *peditor,
}
static void
-peditor_switch_widget_changed (GConfPropertyEditor *peditor,
- GtkSwitch *sw)
+peditor_switch_widget_changed (GtkSwitch *sw,
+ GParamSpec *pspec,
+ GConfPropertyEditor *peditor)
{
GConfValue *value, *value_wid;
@@ -522,8 +523,8 @@ gconf_peditor_new_switch (GConfChangeSet *changeset,
va_end (var_args);
- g_signal_connect_swapped (sw, "notify::active",
- (GCallback) peditor_switch_widget_changed, peditor);
+ g_signal_connect (sw, "notify::active",
+ (GCallback) peditor_switch_widget_changed, peditor);
return peditor;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]