forked from AuroraMiddleware/gtk
GtkSwitch: Use G_PARAM_EXPLICIT_NOTIFY
This commit is contained in:
parent
17059f9c17
commit
eed1ae682b
@ -802,7 +802,7 @@ gtk_switch_class_init (GtkSwitchClass *klass)
|
|||||||
P_("Active"),
|
P_("Active"),
|
||||||
P_("Whether the switch is on or off"),
|
P_("Whether the switch is on or off"),
|
||||||
FALSE,
|
FALSE,
|
||||||
GTK_PARAM_READWRITE);
|
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkSwitch:state:
|
* GtkSwitch:state:
|
||||||
@ -817,7 +817,7 @@ gtk_switch_class_init (GtkSwitchClass *klass)
|
|||||||
P_("State"),
|
P_("State"),
|
||||||
P_("The backend state"),
|
P_("The backend state"),
|
||||||
FALSE,
|
FALSE,
|
||||||
GTK_PARAM_READWRITE);
|
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
gobject_class->set_property = gtk_switch_set_property;
|
gobject_class->set_property = gtk_switch_set_property;
|
||||||
gobject_class->get_property = gtk_switch_get_property;
|
gobject_class->get_property = gtk_switch_get_property;
|
||||||
|
Loading…
Reference in New Issue
Block a user