[gnome-software] Disable the GTK pixel cache due to rendering artifacts



commit b36f427055cec55707ac904024f53060db4de0a4
Author: Richard Hughes <richard hughsie com>
Date:   Wed Apr 9 08:40:05 2014 +0100

    Disable the GTK pixel cache due to rendering artifacts
    
    This is a hack, but fixes the issue. When we have a GTK+ fix we can remove this.
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=726475

 src/gs-main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-main.c b/src/gs-main.c
index f08c5e9..d74b7d1 100644
--- a/src/gs-main.c
+++ b/src/gs-main.c
@@ -43,6 +43,9 @@ main (int argc, char **argv)
        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
        textdomain (GETTEXT_PACKAGE);
 
+       /* workaround for https://bugzilla.gnome.org/show_bug.cgi?id=726475 */
+       g_setenv ("GTK_DEBUG", "no-pixel-cache", FALSE);
+
        profile = gs_profile_new ();
        gs_profile_start (profile, "GsMain");
        application = gs_application_new ();


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