property-editor: use the right signalture for the notify::active callback
https://bugzilla.gnome.org/show_bug.cgi?id=645143
This commit is contained in:
parent
e2f6f36b8e
commit
dd39716790
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue