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



commit fa4ee65207b0922ecfeac6da7fd586c132210e59
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 abed616..4f98e04 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -1472,6 +1472,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]