aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 6d880993d19..56a3783127e 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1413,7 +1413,7 @@ pop_down_menu (Lisp_Object arg)
1413{ 1413{
1414 popup_activated_flag = 0; 1414 popup_activated_flag = 0;
1415 block_input (); 1415 block_input ();
1416 gtk_widget_destroy (GTK_WIDGET (XSAVE_POINTER (arg))); 1416 gtk_widget_destroy (GTK_WIDGET (XSAVE_POINTER (arg, 0)));
1417 unblock_input (); 1417 unblock_input ();
1418 return Qnil; 1418 return Qnil;
1419} 1419}
@@ -1610,7 +1610,7 @@ create_and_show_popup_menu (FRAME_PTR f, widget_value *first_wv,
1610static Lisp_Object 1610static Lisp_Object
1611cleanup_widget_value_tree (Lisp_Object arg) 1611cleanup_widget_value_tree (Lisp_Object arg)
1612{ 1612{
1613 free_menubar_widget_value_tree (XSAVE_POINTER (arg)); 1613 free_menubar_widget_value_tree (XSAVE_POINTER (arg, 0));
1614 return Qnil; 1614 return Qnil;
1615} 1615}
1616 1616
@@ -2236,8 +2236,8 @@ menu_help_callback (char const *help_string, int pane, int item)
2236static Lisp_Object 2236static Lisp_Object
2237pop_down_menu (Lisp_Object arg) 2237pop_down_menu (Lisp_Object arg)
2238{ 2238{
2239 FRAME_PTR f = XSAVE_POINTER (Fcar (arg)); 2239 FRAME_PTR f = XSAVE_POINTER (Fcar (arg), 0);
2240 XMenu *menu = XSAVE_POINTER (Fcdr (arg)); 2240 XMenu *menu = XSAVE_POINTER (Fcdr (arg), 0);
2241 2241
2242 block_input (); 2242 block_input ();
2243#ifndef MSDOS 2243#ifndef MSDOS