0c553ad2f2
OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo?expand=0&rev=136
17 lines
515 B
Diff
17 lines
515 B
Diff
--- a/eel/eel-gtk-extensions.c
|
|
+++ b/eel/eel-gtk-extensions.c
|
|
@@ -285,9 +285,13 @@ eel_pop_up_context_menu (GtkMenu *menu,
|
|
button = 0;
|
|
}
|
|
|
|
+#if GTK_CHECK_VERSION (3, 22, 0)
|
|
if (button > 0) {
|
|
gtk_menu_popup_at_pointer (menu, (GdkEvent *) event);
|
|
} else {
|
|
+#else
|
|
+ if (TRUE) {
|
|
+#endif
|
|
gtk_menu_popup (menu, /* menu */
|
|
NULL, /* parent_menu_shell */
|
|
NULL, /* parent_menu_item */
|