[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
(cherry picked from commit 318fa1e179)
This commit is contained in:
Javier Jardón
2010-06-16 20:18:39 +02:00
committed by Matthias Clasen
parent 90dd7e2990
commit 6eebe91b7a

View File

@@ -1225,6 +1225,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*