[gtk+] Fix the -gtk-outline-radius shorthand
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix the -gtk-outline-radius shorthand
- Date: Mon, 18 Sep 2017 01:18:03 +0000 (UTC)
commit d0cae3ecba067cfbe3c93e3a60cc4b39cdbee7cf
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 17 21:17:30 2017 -0400
Fix the -gtk-outline-radius shorthand
It needs to refer to the -gtk-prefixed subproperties now.
gtk/gtkcssshorthandpropertyimpl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index 7562d09..845e31b 100644
--- a/gtk/gtkcssshorthandpropertyimpl.c
+++ b/gtk/gtkcssshorthandpropertyimpl.c
@@ -1045,8 +1045,8 @@ _gtk_css_shorthand_property_init_properties (void)
"border-top-color", "border-right-color", "border-bottom-color",
"border-left-color",
"border-image-source", "border-image-slice", "border-image-width",
"border-image-repeat", NULL };
const char *outline_subproperties[] = { "outline-width", "outline-style", "outline-color", NULL };
- const char *outline_radius_subproperties[] = { "outline-top-left-radius", "outline-top-right-radius",
- "outline-bottom-right-radius",
"outline-bottom-left-radius", NULL };
+ const char *outline_radius_subproperties[] = { "-gtk-outline-top-left-radius",
"-gtk-outline-top-right-radius",
+ "-gtk-outline-bottom-right-radius",
"-gtk-outline-bottom-left-radius", NULL };
const char *background_subproperties[] = { "background-image", "background-position", "background-size",
"background-repeat", "background-clip", "background-origin",
"background-color", NULL };
const char *transition_subproperties[] = { "transition-property", "transition-duration",
"transition-delay", "transition-timing-function", NULL };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]