[gtk+] [gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] [gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
- Date: Wed, 16 Jun 2010 18:26:47 +0000 (UTC)
commit 318fa1e1799792e9eaeffcf4b19fb4140549e901
Author: Javier Jardón <jjardon gnome org>
Date: Wed Jun 16 20:18:39 2010 +0200
[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
gtk/gtkmenu.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 9715b78..2ce0785 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -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*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]