summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-09-24 13:52:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-09-24 13:52:49 -0400
commit92ededc9b4160898de6c2b920102716f359c3def (patch)
treeea574dfe39a2072d51f7e6bdedbd70c41970e40e /gtk/gtkmenu.h
parentcc9ac5b7eaeb93578e9e12059648400ec76b1a3f (diff)
downloadgtk+-92ededc9b4160898de6c2b920102716f359c3def.tar.gz
GtkMenu: Add a destroy notify to gtk_menu_popup_for_device
This is necessary so language bindings can use gtk_menu_popup_for_device() as a 'full' variant of gtk_menu_popup(). http://bugzilla.gnome.org/show_bug.cgi?id=623664
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r--gtk/gtkmenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h
index 5274b094df..fbb887b953 100644
--- a/gtk/gtkmenu.h
+++ b/gtk/gtkmenu.h
@@ -139,10 +139,10 @@ void gtk_menu_popup_for_device (GtkMenu *menu,
GtkWidget *parent_menu_item,
GtkMenuPositionFunc func,
gpointer data,
+ GDestroyNotify destroy,
guint button,
guint32 activate_time);
-
/* Position the menu according to its position function. Called
* from gtkmenuitem.c when a menu-item changes its allocation
*/