[gtk+] gskrenderer: Make the window property not construct



commit b9b03cf570b31ddecaf3495ced244e206f4e3633
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 6 19:29:42 2017 -0400

    gskrenderer: Make the window property not construct
    
    We never set this, since it is assigned as a side-effect
    of realizing the renderer. Make this a plain readonly property.

 gsk/gskrenderer.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskrenderer.c b/gsk/gskrenderer.c
index 1c24166..e4ab4e9 100644
--- a/gsk/gskrenderer.c
+++ b/gsk/gskrenderer.c
@@ -321,8 +321,7 @@ gsk_renderer_class_init (GskRendererClass *klass)
                          "Window",
                          "The window associated to the renderer",
                          GDK_TYPE_WINDOW,
-                         G_PARAM_READWRITE |
-                         G_PARAM_CONSTRUCT_ONLY |
+                         G_PARAM_READABLE |
                          G_PARAM_STATIC_STRINGS);
 
   /**


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