This is an automated email from the git hooks/post-receive script.

andre pushed a 
commit to branch 
master
in repository xfce/xfce4-appfinder.

commit b3dd6e547011793a3237c202e04d577d95943780
Author: Andre Miranda <andre...@xfce.org>
Date:   Thu Nov 2 17:35:11 2017 -0300

    Use gtk_menu_popup to support gtk 3.20
---
 src/appfinder-window.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index 01919c1..2dcd432 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -1093,7 +1093,14 @@ xfce_appfinder_window_popup_menu (GtkWidget           
*view,
           G_CALLBACK (xfce_appfinder_window_popup_menu_hide), window);
       gtk_widget_show (mi);
 
+#if GTK_CHECK_VERSION (3, 22, 0)
       gtk_menu_popup_at_pointer (GTK_MENU (menu), NULL);
+#else
+      gtk_menu_popup (GTK_MENU (menu),
+                      NULL, NULL, NULL, NULL, 3,
+                      gtk_get_current_event_time ());
+#endif
+
       return TRUE;
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to