[gtk+/nth-child: 13/22] xxx: constify argument to style_property_read



commit a92e837611622e4eaecc09b3f5dace5bfd50d03c
Author: Benjamin Otte <otte redhat com>
Date:   Thu May 26 00:14:14 2011 +0200

    xxx: constify argument to style_property_read

 gtk/gtkstyleproperty.c        |    6 +++---
 gtk/gtkstylepropertyprivate.h |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index 57bf4fc..d3c35d9 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -1403,9 +1403,9 @@ _gtk_css_value_parse (GValue       *value,
 }
 
 void
-_gtk_style_property_print_value (GtkStyleProperty *property,
-                                 const GValue     *value,
-                                 GString          *string)
+_gtk_style_property_print_value (const GtkStyleProperty *property,
+                                 const GValue           *value,
+                                 GString                *string)
 {
   PrintFunc func;
 
diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h
index b20f054..ba9fd3f 100644
--- a/gtk/gtkstylepropertyprivate.h
+++ b/gtk/gtkstylepropertyprivate.h
@@ -59,7 +59,7 @@ void                     _gtk_style_property_pack          (const GtkStyleProper
 gboolean                _gtk_css_value_parse              (GValue        *value,
                                                            GtkCssParser  *parser,
                                                            GFile         *base);
-void                     _gtk_style_property_print_value   (GtkStyleProperty       *property,
+void                     _gtk_style_property_print_value   (const GtkStyleProperty *property,
                                                             const GValue           *value,
                                                             GString                *string);
 



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