summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproperty.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-09 22:06:17 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 22:08:48 +0100
commitc4566da282f2a7c291c8c148e5ca17d476152259 (patch)
tree04c6878cb696f4064d3985a82ccfa28412cab8c6 /gtk/gtkstyleproperty.c
parent2dc10600ea430477d3fdd04e659b255e00804609 (diff)
downloadgtk+-c4566da282f2a7c291c8c148e5ca17d476152259.tar.gz
styleproperty: Call style properties init function in more places
In particular, call it when querying properties by id. This is necessary for make check to not die.
Diffstat (limited to 'gtk/gtkstyleproperty.c')
-rw-r--r--gtk/gtkstyleproperty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index a8197842d7..be86c97e5a 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -226,8 +226,8 @@ _gtk_style_property_query (GtkStyleProperty *property,
klass->query (property, props, state, value);
}
-static void
-gtk_style_property_init_properties (void)
+void
+_gtk_style_property_init_properties (void)
{
static gboolean initialized = FALSE;
@@ -258,7 +258,7 @@ _gtk_style_property_lookup (const char *name)
g_return_val_if_fail (name != NULL, NULL);
- gtk_style_property_init_properties ();
+ _gtk_style_property_init_properties ();
klass = g_type_class_peek (GTK_TYPE_STYLE_PROPERTY);