diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-10-24 18:53:16 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-10-24 18:53:16 +0300 |
commit | fe4376c8b17c1a26903900d4e75c09c8a4b1f619 (patch) | |
tree | e98718348fc57bd2248b83e89b15a78083e5fac9 | |
parent | d226b34df5514f41535819dc2cc61ef1752201ed (diff) | |
download | metacity-fe4376c8b17c1a26903900d4e75c09c8a4b1f619.tar.gz |
fixedtip: avoid deprecation warnings
-rw-r--r-- | 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 0a0418d3..11132b02 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); |