[gtk+] Rename s/GtkCssRepeatStyle/GtkCssBorderRepeatStyle/g



commit ee7ac4fa441d706c2f11fd2b041c46139a18fc11
Author: Marc-Andrà Lureau <marcandre lureau redhat com>
Date:   Tue Nov 8 00:10:13 2011 +0100

    Rename s/GtkCssRepeatStyle/GtkCssBorderRepeatStyle/g
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663522

 gtk/gtkborderimage.c     |    4 ++--
 gtk/gtkcsstypesprivate.h |    6 +++---
 gtk/gtkstyleproperty.c   |    4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkborderimage.c b/gtk/gtkborderimage.c
index d5510ab..2fbe850 100644
--- a/gtk/gtkborderimage.c
+++ b/gtk/gtkborderimage.c
@@ -258,8 +258,8 @@ gtk_border_image_render_slice (cairo_t           *cr,
                                double             y,
                                double             width,
                                double             height,
-                               GtkCssRepeatStyle  hrepeat,
-                               GtkCssRepeatStyle  vrepeat)
+                               GtkCssBorderRepeatStyle  hrepeat,
+                               GtkCssBorderRepeatStyle  vrepeat)
 {
   double hscale, vscale;
   double xstep, ystep;
diff --git a/gtk/gtkcsstypesprivate.h b/gtk/gtkcsstypesprivate.h
index e6f9b34..0ee049a 100644
--- a/gtk/gtkcsstypesprivate.h
+++ b/gtk/gtkcsstypesprivate.h
@@ -29,7 +29,7 @@ typedef enum {
   GTK_CSS_REPEAT_STYLE_REPEAT,
   GTK_CSS_REPEAT_STYLE_ROUND,
   GTK_CSS_REPEAT_STYLE_SPACE
-} GtkCssRepeatStyle;
+} GtkCssBorderRepeatStyle;
 
 typedef struct _GtkCssBorderCornerRadius GtkCssBorderCornerRadius;
 typedef struct _GtkCssBorderRadius GtkCssBorderRadius;
@@ -48,8 +48,8 @@ struct _GtkCssBorderRadius {
 };
 
 struct _GtkCssBorderImageRepeat {
-  GtkCssRepeatStyle vrepeat;
-  GtkCssRepeatStyle hrepeat;
+  GtkCssBorderRepeatStyle vrepeat;
+  GtkCssBorderRepeatStyle hrepeat;
 };
 
 #define GTK_TYPE_CSS_BORDER_CORNER_RADIUS _gtk_css_border_corner_radius_get_type ()
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index 05ffbf3..6997293 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -1132,7 +1132,7 @@ border_image_repeat_value_parse (GtkCssParser *parser,
                                  GValue *value)
 {
   GtkCssBorderImageRepeat image_repeat;
-  GtkCssRepeatStyle styles[2];
+  GtkCssBorderRepeatStyle styles[2];
   gint i;
 
   for (i = 0; i < 2; i++)
@@ -1163,7 +1163,7 @@ border_image_repeat_value_parse (GtkCssParser *parser,
 }
 
 static const gchar *
-border_image_repeat_style_to_string (GtkCssRepeatStyle repeat)
+border_image_repeat_style_to_string (GtkCssBorderRepeatStyle repeat)
 {
   switch (repeat)
     {



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