[clutter-gtk] embed: remove non double buffer setting



commit 88d74c56612773dc350efde57eff97f461f438e6
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Mon Aug 29 19:36:48 2016 +0100

    embed: remove non double buffer setting
    
    This started causing problems with Gtk+ 3.21. As the documentation explains,
    disabling double buffering might trigger rendering issues.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769097

 clutter-gtk/gtk-clutter-embed.c |    5 -----
 configure.ac                    |    2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-embed.c b/clutter-gtk/gtk-clutter-embed.c
index 9a01b9e..521afc9 100644
--- a/clutter-gtk/gtk-clutter-embed.c
+++ b/clutter-gtk/gtk-clutter-embed.c
@@ -1153,11 +1153,6 @@ 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);
 
diff --git a/configure.ac b/configure.ac
index 41c0935..128e38e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,7 @@ AC_CHECK_LIBM
 AC_SUBST(LIBM)
 
 m4_define([clutter_req_version], [1.23.7])
-m4_define([gtk_req_version], [3.19.4])
+m4_define([gtk_req_version], [3.21.0])
 
 PKG_CHECK_MODULES([CLUTTER_GTK_DEPS], [clutter-1.0 >= clutter_req_version gtk+-3.0 >= gtk_req_version])
 AC_SUBST([CLUTTER_GTK_DEPS_CFLAGS])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]