[gnome-control-center] sharing: Use gtk_menu_popup_at_pointer



commit eca7f397827e4cad3aa3f1da3d4d459a6dce65fd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Jan 17 23:23:59 2018 -0200

    sharing: Use gtk_menu_popup_at_pointer
    
    Instead of the deprecated gtk_menu_popup().

 panels/sharing/cc-sharing-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index 68335ce..9a65c6b 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -660,7 +660,7 @@ cc_sharing_panel_label_activate_link (GtkLabel *label,
                                       gchar    *uri,
                                       GtkMenu  *menu)
 {
-  gtk_menu_popup (menu, NULL, NULL, NULL, NULL, 0, gtk_get_current_event_time ());
+  gtk_menu_popup_at_pointer (menu, NULL);
 
   g_object_set_data_full (G_OBJECT (menu), "uri-text", g_strdup (uri), g_free);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]