[gtk+] display: Actually initialize variables



commit d028667fc645eb40397f6b0c2243af87a97dba24
Author: Benjamin Otte <otte redhat com>
Date:   Sat Oct 29 18:06:24 2016 +0200

    display: Actually initialize variables
    
    Forgot to add this in d249e77bcb19c3981f750556809b48d406a027eb.

 gdk/gdkdisplay.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 8e5e3b1..b5ca4b9 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -390,6 +390,9 @@ gdk_display_init (GdkDisplay *display)
                                                         (GDestroyNotify) g_free);
 
   display->rendering_mode = _gdk_rendering_mode;
+
+  display->composited = TRUE;
+  display->rgba = TRUE;
 }
 
 static void


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