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
|
static void
|
||||||
peditor_switch_widget_changed (GConfPropertyEditor *peditor,
|
peditor_switch_widget_changed (GtkSwitch *sw,
|
||||||
GtkSwitch *sw)
|
GParamSpec *pspec,
|
||||||
|
GConfPropertyEditor *peditor)
|
||||||
{
|
{
|
||||||
GConfValue *value, *value_wid;
|
GConfValue *value, *value_wid;
|
||||||
|
|
||||||
|
@ -522,7 +523,7 @@ gconf_peditor_new_switch (GConfChangeSet *changeset,
|
||||||
|
|
||||||
va_end (var_args);
|
va_end (var_args);
|
||||||
|
|
||||||
g_signal_connect_swapped (sw, "notify::active",
|
g_signal_connect (sw, "notify::active",
|
||||||
(GCallback) peditor_switch_widget_changed, peditor);
|
(GCallback) peditor_switch_widget_changed, peditor);
|
||||||
|
|
||||||
return peditor;
|
return peditor;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue