diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-11-11 13:51:02 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-19 14:50:09 -0500 |
commit | 9f3839066ec3bb1be49e127da1320f9b5d5bf02c (patch) | |
tree | f233029932641a03cf39ec3e6973779631dc116c /gtk/gtkscrollable.h | |
parent | 0434649cc14f1e860dca6ff14a2d3ce3aec68ac4 (diff) | |
download | gtk+-9f3839066ec3bb1be49e127da1320f9b5d5bf02c.tar.gz |
gtkstack: allow templates to override all properties
Currently GtkStack has some G_PARAM_CONSTRUCT properties. That means,
the properties are set with its default value after the initializacion
of the object.
When using GtkBuilder to build objects, GtkBuilder creates them and
after that sets the properties found on the xml definition.
However, this is not true for templates because the template is initialized
in the init() function of the actual object, and after that, the construct
properties will be set.
This is a problem when someone wants to use templates with GtkStack and
set those properties, since they will be set on the tempalt initialization
and set again to its default values afterwards.
To fix this, make those properties not G_PARAM_CONSTRUCT.
https://bugzilla.gnome.org/show_bug.cgi?id=758086
Diffstat (limited to 'gtk/gtkscrollable.h')
0 files changed, 0 insertions, 0 deletions