summaryrefslogtreecommitdiff
path: root/eel/eel-gtk-extensions.c
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2018-05-15 02:24:55 -0400
committerlukefromdc <[email protected]>2018-05-16 18:44:02 -0400
commitc0f159de3fc1fdce082acef36044016e3f7b3527 (patch)
treebfe6c75081b57d0177fec41f4624a6c052688e90 /eel/eel-gtk-extensions.c
parent9f08546cff6b4d88835b35b4e000ac7a18b6fb39 (diff)
downloadcaja-c0f159de3fc1fdce082acef36044016e3f7b3527.tar.bz2
caja-c0f159de3fc1fdce082acef36044016e3f7b3527.tar.xz
Pathbar button: fix poor response to right-click
Fix https://github.com/mate-desktop/caja/issues/996
Diffstat (limited to 'eel/eel-gtk-extensions.c')
-rw-r--r--eel/eel-gtk-extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-gtk-extensions.c b/eel/eel-gtk-extensions.c
index 255aa162..e68242af 100644
--- a/eel/eel-gtk-extensions.c
+++ b/eel/eel-gtk-extensions.c
@@ -292,7 +292,7 @@ eel_pop_up_context_menu (GtkMenu *menu,
{
g_return_if_fail (GTK_IS_MENU (menu));
- gtk_menu_popup_at_pointer (menu, NULL);
+ gtk_menu_popup_at_pointer (menu, (const GdkEvent*) event);
g_object_ref_sink (menu);
g_object_unref (menu);