[clutter-gtk] embed: Ignore deprecation warnings
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gtk] embed: Ignore deprecation warnings
- Date: Thu, 21 Aug 2014 15:23:23 +0000 (UTC)
commit 7efe5c0082501be3f6ccc9a29b983c9c6aedb858
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Aug 21 15:54:28 2014 +0100
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 files changed, 2 insertions(+), 0 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]