mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 08:40:08 +00:00
menu: notify attach-widget property when menu is detached
When the menu is detached, the attach-widget property changes value to NULL, so we should notify a property change, like gtk_menu_attach_to_widget() does. https://bugzilla.gnome.org/show_bug.cgi?id=679454
This commit is contained in:
parent
f22226b3c9
commit
f81bd6c52d
@ -1297,6 +1297,7 @@ gtk_menu_detach (GtkMenu *menu)
|
||||
/* Fallback title for menu comes from attach widget */
|
||||
gtk_menu_update_title (menu);
|
||||
|
||||
g_object_notify (G_OBJECT (menu), "attach-widget");
|
||||
g_object_unref (menu);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user