[metacity/gnome-3-22] menu: avoid a deprecation warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/gnome-3-22] menu: avoid a deprecation warning
- Date: Sun, 16 Oct 2016 20:22:51 +0000 (UTC)
commit d226b34df5514f41535819dc2cc61ef1752201ed
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Oct 16 23:21:25 2016 +0300
menu: avoid a deprecation warning
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 52df466..5fdaca2 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]