diff options
author | Benjamin Otte <otte@redhat.com> | 2012-04-04 11:44:57 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:18 +0200 |
commit | f785f7177c455369f1482ff6582cebf69ddddb7a (patch) | |
tree | 67d4d3131bd8e69d7ba7c9e7c225beb0ce970ba6 /gtk/gtkcsspositionvalue.c | |
parent | 5377169ef33d7b17d953ccd464e64dbd32335c47 (diff) | |
download | gtk+-f785f7177c455369f1482ff6582cebf69ddddb7a.tar.gz |
cssvalue: Add a custom value for repeats
In particular, that's background-repeat and border-image-repeat.
Also, fix up the border-image shorthand to allow any order.
Diffstat (limited to 'gtk/gtkcsspositionvalue.c')
-rw-r--r-- | gtk/gtkcsspositionvalue.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkcsspositionvalue.c b/gtk/gtkcsspositionvalue.c index d37d94c4c4..61c34f3162 100644 --- a/gtk/gtkcsspositionvalue.c +++ b/gtk/gtkcsspositionvalue.c @@ -120,12 +120,6 @@ gtk_css_value_position_print (const GtkCssValue *position, g_string_append (string, "center "); _gtk_css_value_print (position->y, string); } - _gtk_css_value_print (position->x, string); - if (!_gtk_css_value_equal (position->x, position->y)) - { - g_string_append_c (string, ' '); - _gtk_css_value_print (position->y, string); - } done: for (i = 0; i < G_N_ELEMENTS (values); i++) |