[gtk+/icon-shadow: 1/9] styleproperties: add an 'icon-shadow' style property



commit ac649c59a9ce590ae04cf3499974b96564064825
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri May 20 23:48:36 2011 -0400

    styleproperties: add an 'icon-shadow' style property

 gtk/gtkstyleproperty.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index b2fa41f..28d9219 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -1473,6 +1473,13 @@ gtk_style_property_init (void)
   gtk_style_param_set_inherit (pspec, TRUE);
   gtk_style_properties_register_property (NULL, pspec);
 
+  pspec = g_param_spec_boxed ("icon-shadow",
+                              "Icon shadow",
+                              "Icon shadow",
+                              GTK_TYPE_SHADOW, 0);
+  gtk_style_param_set_inherit (pspec, TRUE);
+  gtk_style_properties_register_property (NULL, pspec);
+
   gtk_style_properties_register_property (NULL,
                                           g_param_spec_int ("margin-top",
                                                             "margin top",



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