From 92ededc9b4160898de6c2b920102716f359c3def Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 24 Sep 2010 13:52:49 -0400 Subject: 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 --- gtk/gtkmenu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkmenu.h') 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 */ -- cgit v1.2.1