[Xfce4-commits] [xfce/xfce4-appfinder] 10/13: Fix gtk_menu_popup deprecation

noreply at xfce.org noreply at xfce.org
Mon Jul 17 03:22:17 CEST 2017


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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-appfinder.

commit 8eaadfa82c4459f5b998fd4ec982e1b2ee9d5522
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Jul 16 14:30:48 2017 -0300

    Fix gtk_menu_popup deprecation
---
 src/appfinder-window.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index dbf0db9..2c24a4e 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -1081,10 +1081,7 @@ xfce_appfinder_window_popup_menu (GtkWidget           *view,
           G_CALLBACK (xfce_appfinder_window_popup_menu_hide), window);
       gtk_widget_show (mi);
 
-      gtk_menu_popup (GTK_MENU (menu),
-                      NULL, NULL, NULL, NULL, 3,
-                      gtk_get_current_event_time ());
-
+      gtk_menu_popup_at_pointer (GTK_MENU (menu), NULL);
       return TRUE;
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list