diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-31 16:08:23 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:52 +0100 |
commit | 4383701e258fcda37d980d5bd3114f028e567550 (patch) | |
tree | 31cdb1688893da84dd33a2934e278ede479e286f /gtk/gtkstyleproperties.c | |
parent | a3a580d53ef75b0fb13f45b6a567d7f3f7026ce7 (diff) | |
download | gtk+-4383701e258fcda37d980d5bd3114f028e567550.tar.gz |
styleproperty: unconstify
GtkStyleProperty is a real GObject now, so treat it like one and don't
use const.
Diffstat (limited to 'gtk/gtkstyleproperties.c')
-rw-r--r-- | gtk/gtkstyleproperties.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c index b3ef81b3cc..cd325ae76c 100644 --- a/gtk/gtkstyleproperties.c +++ b/gtk/gtkstyleproperties.c @@ -399,7 +399,7 @@ gtk_style_properties_lookup_property (const gchar *property_name, GtkStylePropertyParser *parse_func, GParamSpec **pspec) { - const GtkStyleProperty *node; + GtkStyleProperty *node; gboolean found = FALSE; g_return_val_if_fail (property_name != NULL, FALSE); @@ -521,10 +521,10 @@ gtk_style_properties_lookup_color (GtkStyleProperties *props, } void -_gtk_style_properties_set_property_by_property (GtkStyleProperties *props, - const GtkStyleProperty *style_prop, - GtkStateFlags state, - const GValue *value) +_gtk_style_properties_set_property_by_property (GtkStyleProperties *props, + GtkStyleProperty *style_prop, + GtkStateFlags state, + const GValue *value) { GtkStylePropertiesPrivate *priv; PropertyData *prop; @@ -619,7 +619,7 @@ gtk_style_properties_set_property (GtkStyleProperties *props, GtkStateFlags state, const GValue *value) { - const GtkStyleProperty *node; + GtkStyleProperty *node; g_return_if_fail (GTK_IS_STYLE_PROPERTIES (props)); g_return_if_fail (property != NULL); @@ -662,7 +662,7 @@ gtk_style_properties_set_valist (GtkStyleProperties *props, while (property_name) { - const GtkStyleProperty *node; + GtkStyleProperty *node; gchar *error = NULL; GValue val = G_VALUE_INIT; @@ -716,9 +716,9 @@ gtk_style_properties_set (GtkStyleProperties *props, } const GValue * -_gtk_style_properties_peek_property (GtkStyleProperties *props, - const GtkStyleProperty *property, - GtkStateFlags state) +_gtk_style_properties_peek_property (GtkStyleProperties *props, + GtkStyleProperty *property, + GtkStateFlags state) { GtkStylePropertiesPrivate *priv; PropertyData *prop; @@ -741,7 +741,7 @@ _gtk_style_properties_get_property (GtkStyleProperties *props, GtkStylePropertyContext *context, GValue *value) { - const GtkStyleProperty *node; + GtkStyleProperty *node; g_return_val_if_fail (GTK_IS_STYLE_PROPERTIES (props), FALSE); g_return_val_if_fail (property != NULL, FALSE); @@ -903,7 +903,7 @@ gtk_style_properties_unset_property (GtkStyleProperties *props, GtkStateFlags state) { GtkStylePropertiesPrivate *priv; - const GtkStyleProperty *node; + GtkStyleProperty *node; PropertyData *prop; guint pos; |