forked from AuroraMiddleware/gtk
Rename s/GtkCssRepeatStyle/GtkCssBorderRepeatStyle/g
https://bugzilla.gnome.org/show_bug.cgi?id=663522
This commit is contained in:
parent
085b98f470
commit
ee7ac4fa44
@ -258,8 +258,8 @@ gtk_border_image_render_slice (cairo_t *cr,
|
|||||||
double y,
|
double y,
|
||||||
double width,
|
double width,
|
||||||
double height,
|
double height,
|
||||||
GtkCssRepeatStyle hrepeat,
|
GtkCssBorderRepeatStyle hrepeat,
|
||||||
GtkCssRepeatStyle vrepeat)
|
GtkCssBorderRepeatStyle vrepeat)
|
||||||
{
|
{
|
||||||
double hscale, vscale;
|
double hscale, vscale;
|
||||||
double xstep, ystep;
|
double xstep, ystep;
|
||||||
|
@ -29,7 +29,7 @@ typedef enum {
|
|||||||
GTK_CSS_REPEAT_STYLE_REPEAT,
|
GTK_CSS_REPEAT_STYLE_REPEAT,
|
||||||
GTK_CSS_REPEAT_STYLE_ROUND,
|
GTK_CSS_REPEAT_STYLE_ROUND,
|
||||||
GTK_CSS_REPEAT_STYLE_SPACE
|
GTK_CSS_REPEAT_STYLE_SPACE
|
||||||
} GtkCssRepeatStyle;
|
} GtkCssBorderRepeatStyle;
|
||||||
|
|
||||||
typedef struct _GtkCssBorderCornerRadius GtkCssBorderCornerRadius;
|
typedef struct _GtkCssBorderCornerRadius GtkCssBorderCornerRadius;
|
||||||
typedef struct _GtkCssBorderRadius GtkCssBorderRadius;
|
typedef struct _GtkCssBorderRadius GtkCssBorderRadius;
|
||||||
@ -48,8 +48,8 @@ struct _GtkCssBorderRadius {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct _GtkCssBorderImageRepeat {
|
struct _GtkCssBorderImageRepeat {
|
||||||
GtkCssRepeatStyle vrepeat;
|
GtkCssBorderRepeatStyle vrepeat;
|
||||||
GtkCssRepeatStyle hrepeat;
|
GtkCssBorderRepeatStyle hrepeat;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GTK_TYPE_CSS_BORDER_CORNER_RADIUS _gtk_css_border_corner_radius_get_type ()
|
#define GTK_TYPE_CSS_BORDER_CORNER_RADIUS _gtk_css_border_corner_radius_get_type ()
|
||||||
|
@ -1132,7 +1132,7 @@ border_image_repeat_value_parse (GtkCssParser *parser,
|
|||||||
GValue *value)
|
GValue *value)
|
||||||
{
|
{
|
||||||
GtkCssBorderImageRepeat image_repeat;
|
GtkCssBorderImageRepeat image_repeat;
|
||||||
GtkCssRepeatStyle styles[2];
|
GtkCssBorderRepeatStyle styles[2];
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
for (i = 0; i < 2; i++)
|
for (i = 0; i < 2; i++)
|
||||||
@ -1163,7 +1163,7 @@ border_image_repeat_value_parse (GtkCssParser *parser,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const gchar *
|
static const gchar *
|
||||||
border_image_repeat_style_to_string (GtkCssRepeatStyle repeat)
|
border_image_repeat_style_to_string (GtkCssBorderRepeatStyle repeat)
|
||||||
{
|
{
|
||||||
switch (repeat)
|
switch (repeat)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user