[gtk+/gtk-style-context] GtkStyleSet: Register "margin" property.



commit aeb91892fba0df5eaed977a95e8161fb30af1095
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Aug 30 22:35:30 2010 +0200

    GtkStyleSet: Register "margin" property.

 gtk/gtkstyleset.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyleset.c b/gtk/gtkstyleset.c
index 62d6dec..516a9a4 100644
--- a/gtk/gtkstyleset.c
+++ b/gtk/gtkstyleset.c
@@ -85,6 +85,7 @@ gtk_style_set_class_init (GtkStyleSetClass *klass)
 
   gtk_style_set_register_property ("font", PANGO_TYPE_FONT_DESCRIPTION, NULL, NULL);
 
+  gtk_style_set_register_property ("margin", GTK_TYPE_BORDER, NULL, NULL);
   gtk_style_set_register_property ("padding", GTK_TYPE_BORDER, NULL, NULL);
   gtk_style_set_register_property ("border", G_TYPE_INT, NULL, NULL);
 



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