File nemo-gtk-3.20.patch of Package nemo

--- 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 */
openSUSE Build Service is sponsored by