[gtk+/wip/attach-params] gtkmenu: pass attach_widget



commit 6d31b377cac7a8d6339be358bd2f57ca57bee9aa
Author: William Hua <william hua canonical com>
Date:   Fri Jan 15 11:37:05 2016 -0500

    gtkmenu: pass attach_widget

 gtk/gtkmenu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 731c825..164d8ce 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -2102,7 +2102,7 @@ gtk_menu_popup_with_params (GtkMenu           *menu,
   gtk_menu_popup_internal (menu,
                            seat,
                            parent_menu_shell,
-                           NULL,
+                           GTK_IS_MENU_ITEM (attach_widget) ? attach_widget : NULL,
                            NULL,
                            NULL,
                            NULL,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]