diff options
author | raveit65 <[email protected]> | 2018-05-05 21:23:26 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-05-07 16:04:11 -0400 |
commit | ddf6f38db4e842abecd4f2ee77012050822b3775 (patch) | |
tree | 385890e85b2de303f8b1897f72de3b777ff6532b /libcaja-private/caja-dnd.c | |
parent | ded490e1bc432210e6006e94273cc160a0af8e75 (diff) | |
download | caja-ddf6f38db4e842abecd4f2ee77012050822b3775.tar.bz2 caja-ddf6f38db4e842abecd4f2ee77012050822b3775.tar.xz |
Replace deprecated gtk_menu_popup
Replace deprecated gtk_menu_popup in eel-editable-label,caja-dnd, emblem-sidebar,caja-side-pane, fm-tree-view, caja-navigation-window-pane, and caja-zoom-control
Diffstat (limited to 'libcaja-private/caja-dnd.c')
-rw-r--r-- | libcaja-private/caja-dnd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcaja-private/caja-dnd.c b/libcaja-private/caja-dnd.c index 64a59966..8512642a 100644 --- a/libcaja-private/caja-dnd.c +++ b/libcaja-private/caja-dnd.c @@ -785,6 +785,7 @@ caja_drag_drop_action_ask (GtkWidget *widget, GtkWidget *menu; GtkWidget *menu_item; DropActionMenuData damd; + GdkEvent *event; /* Create the menu and set the sensitivity of the items based on the * allowed actions. @@ -827,8 +828,7 @@ caja_drag_drop_action_ask (GtkWidget *widget, gtk_grab_add (menu); - gtk_menu_popup (GTK_MENU (menu), NULL, NULL, - NULL, NULL, 0, GDK_CURRENT_TIME); + gtk_menu_popup_at_pointer (GTK_MENU (menu), (const GdkEvent*) event); g_main_loop_run (damd.loop); @@ -849,6 +849,7 @@ caja_drag_drop_background_ask (GtkWidget *widget, GtkWidget *menu; GtkWidget *menu_item; DropActionMenuData damd; + GdkEvent *event; /* Create the menu and set the sensitivity of the items based on the * allowed actions. @@ -881,8 +882,7 @@ caja_drag_drop_background_ask (GtkWidget *widget, gtk_grab_add (menu); - gtk_menu_popup (GTK_MENU (menu), NULL, NULL, - NULL, NULL, 0, GDK_CURRENT_TIME); + gtk_menu_popup_at_pointer (GTK_MENU (menu), (const GdkEvent*) event); g_main_loop_run (damd.loop); |