From 7efe5c0082501be3f6ccc9a29b983c9c6aedb858 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 21 Aug 2014 15:54:28 +0100 Subject: embed: Ignore deprecation warnings We *really* need to disable double buffering in GTK, otherwise we flicker horribly. --- clutter-gtk/gtk-clutter-embed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clutter-gtk/gtk-clutter-embed.c b/clutter-gtk/gtk-clutter-embed.c index 56b7840..e2a2ee9 100644 --- a/clutter-gtk/gtk-clutter-embed.c +++ b/clutter-gtk/gtk-clutter-embed.c @@ -1041,8 +1041,10 @@ gtk_clutter_embed_init (GtkClutterEmbed *embed) /* we accept key focus */ gtk_widget_set_can_focus (widget, TRUE); + G_GNUC_BEGIN_IGNORE_DEPRECATIONS /* disable double-buffering: it's automatically provided by OpenGL */ gtk_widget_set_double_buffered (widget, FALSE); + G_GNUC_END_IGNORE_DEPRECATIONS /* we own the whole drawing of this widget, including the background */ gtk_widget_set_app_paintable (widget, TRUE); -- cgit v1.2.1