diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-10-16 23:21:25 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-10-16 23:21:25 +0300 |
commit | d226b34df5514f41535819dc2cc61ef1752201ed (patch) | |
tree | e2495a2abdfe6a64b80e32a0051cd4ffd601f17b | |
parent | 1482ce23422b500a58c3022d2317c75d4b621a73 (diff) | |
download | metacity-d226b34df5514f41535819dc2cc61ef1752201ed.tar.gz |
menu: avoid a deprecation warning
-rw-r--r-- | src/ui/menu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/menu.c b/src/ui/menu.c index 52df466d..5fdaca2c 100644 --- a/src/ui/menu.c +++ b/src/ui/menu.c @@ -494,11 +494,13 @@ meta_window_menu_popup (MetaWindowMenu *menu, pt->x = root_x; pt->y = root_y; + G_GNUC_BEGIN_IGNORE_DEPRECATIONS gtk_menu_popup (GTK_MENU (menu->menu), NULL, NULL, popup_position_func, pt, button, timestamp); + G_GNUC_END_IGNORE_DEPRECATIONS if (!gtk_widget_get_visible (menu->menu)) meta_warning ("GtkMenu failed to grab the pointer\n"); |