From ef78d5b730cf70158e9efa306444fa77a450750c Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 20 May 2011 23:48:36 -0400 Subject: [PATCH] styleproperties: add an 'icon-shadow' style property It's a custom property with the same semantics of text-shadow, which works on icons and icon-like UI elements, such as spinners, arrows and separators. --- gtk/gtkstyleproperty.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c index d70709172..7a93c6a19 100644 --- a/gtk/gtkstyleproperty.c +++ b/gtk/gtkstyleproperty.c @@ -2038,6 +2038,18 @@ gtk_style_property_init (void) NULL, NULL); + _gtk_style_property_register (g_param_spec_boxed ("icon-shadow", + "Icon shadow", + "Icon shadow", + GTK_TYPE_SHADOW, 0), + GTK_STYLE_PROPERTY_INHERIT, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL); + gtk_style_properties_register_property (NULL, g_param_spec_int ("margin-top", "margin top", -- 2.43.2