[gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()

Reported by ageorge@datasys.net in bug
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=621683
This commit is contained in:
Javier Jardón 2010-06-16 20:18:39 +02:00
parent 36c669aaca
commit 318fa1e179

View File

@ -1226,6 +1226,8 @@ gtk_menu_attach_to_widget (GtkMenu *menu,
/* Fallback title for menu comes from attach widget */
gtk_menu_update_title (menu);
g_object_notify (G_OBJECT (menu), "attach-widget");
}
GtkWidget*