2018-07-06 15:33:44 +02:00
|
|
|
--- a/eel/eel-gtk-extensions.c
|
|
|
|
+++ b/eel/eel-gtk-extensions.c
|
2018-07-21 12:53:45 +02:00
|
|
|
@@ -285,9 +285,13 @@ eel_pop_up_context_menu (GtkMenu *menu,
|
2018-07-06 15:33:44 +02:00
|
|
|
button = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
+#if GTK_CHECK_VERSION (3, 22, 0)
|
2018-07-21 12:53:45 +02:00
|
|
|
if (button > 0) {
|
|
|
|
gtk_menu_popup_at_pointer (menu, (GdkEvent *) event);
|
|
|
|
} else {
|
2018-07-06 15:33:44 +02:00
|
|
|
+#else
|
2018-07-21 12:53:45 +02:00
|
|
|
+ if (TRUE) {
|
2018-07-06 15:33:44 +02:00
|
|
|
+#endif
|
2018-07-21 12:53:45 +02:00
|
|
|
gtk_menu_popup (menu, /* menu */
|
|
|
|
NULL, /* parent_menu_shell */
|
|
|
|
NULL, /* parent_menu_item */
|