mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
switch: Notify :state by pspec
This commit is contained in:
parent
a7fa1cf6f2
commit
5852a5ece8
@ -762,7 +762,7 @@ gtk_switch_set_state (GtkSwitch *sw,
|
||||
else
|
||||
gtk_widget_unset_state_flags (GTK_WIDGET (sw), GTK_STATE_FLAG_CHECKED);
|
||||
|
||||
g_object_notify (G_OBJECT (sw), "state");
|
||||
g_object_notify_by_pspec (G_OBJECT (sw), switch_props[PROP_STATE]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user