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/gtkstylepropertyprivate.h | |
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/gtkstylepropertyprivate.h')
-rw-r--r-- | gtk/gtkstylepropertyprivate.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h index 8926ce1e39..946d2cbd5b 100644 --- a/gtk/gtkstylepropertyprivate.h +++ b/gtk/gtkstylepropertyprivate.h @@ -82,9 +82,9 @@ struct _GtkStylePropertyClass GType _gtk_style_property_get_type (void) G_GNUC_CONST; guint _gtk_style_property_get_count (void); -const GtkStyleProperty * _gtk_style_property_get (guint id); +GtkStyleProperty * _gtk_style_property_get (guint id); -const GtkStyleProperty * _gtk_style_property_lookup (const char *name); +GtkStyleProperty * _gtk_style_property_lookup (const char *name); const char * _gtk_style_property_get_name (GtkStyleProperty *property); @@ -95,25 +95,25 @@ void _gtk_style_property_register (GParamSpec GtkStylePrintFunc print_func, const GValue *initial_value); -gboolean _gtk_style_property_is_inherit (const GtkStyleProperty *property); -guint _gtk_style_property_get_id (const GtkStyleProperty *property); +gboolean _gtk_style_property_is_inherit (GtkStyleProperty * property); +guint _gtk_style_property_get_id (GtkStyleProperty * property); const GValue * _gtk_style_property_get_initial_value - (const GtkStyleProperty *property); + (GtkStyleProperty * property); -GParameter * _gtk_style_property_unpack (const GtkStyleProperty *property, +GParameter * _gtk_style_property_unpack (GtkStyleProperty * property, const GValue *value, guint *n_params); -gboolean _gtk_style_property_parse_value (const GtkStyleProperty *property, +gboolean _gtk_style_property_parse_value (GtkStyleProperty * property, GValue *value, GtkCssParser *parser, GFile *base); -void _gtk_style_property_print_value (const GtkStyleProperty *property, +void _gtk_style_property_print_value (GtkStyleProperty * property, const GValue *value, GString *string); -void _gtk_style_property_query (const GtkStyleProperty *property, +void _gtk_style_property_query (GtkStyleProperty * property, GtkStyleProperties *props, GtkStateFlags state, GtkStylePropertyContext *context, |