[gtk+/icon-shadow: 1/11] styleproperties: add an 'icon-shadow' style property
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/icon-shadow: 1/11] styleproperties: add an 'icon-shadow' style property
- Date: Wed, 25 May 2011 01:51:16 +0000 (UTC)
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]