[metacity/gnome-3-22] fixedtip: avoid deprecation warnings



commit fe4376c8b17c1a26903900d4e75c09c8a4b1f619
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Oct 24 18:53:16 2016 +0300

    fixedtip: avoid deprecation warnings

 src/ui/fixedtip.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/fixedtip.c b/src/ui/fixedtip.c
index 0a0418d..11132b0 100644
--- a/src/ui/fixedtip.c
+++ b/src/ui/fixedtip.c
@@ -51,8 +51,11 @@ meta_fixed_tip_show (int root_x, int root_y,
                        G_CALLBACK (gtk_widget_destroyed), &tip);
     }
 
+  G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   mon_num = gdk_screen_get_monitor_at_point (screen, root_x, root_y);
   gdk_screen_get_monitor_geometry (screen, mon_num, &monitor);
+  G_GNUC_END_IGNORE_DEPRECATIONS
+
   screen_right_edge = monitor.x + monitor.width;
 
   meta_tooltip_set_label_markup (META_TOOLTIP (tip), markup_text);


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