[gtk+/gtk-style-context: 265/540] GtkStyleSet: Register the "border-radius" property



commit 123fcf87c704a4112a9866a7589b7b8d99d37dc2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Oct 20 18:44:48 2010 +0200

    GtkStyleSet: Register the "border-radius" property

 gtk/gtkstyleset.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstyleset.c b/gtk/gtkstyleset.c
index 2464162..9aa5519 100644
--- a/gtk/gtkstyleset.c
+++ b/gtk/gtkstyleset.c
@@ -89,7 +89,9 @@ gtk_style_set_class_init (GtkStyleSetClass *klass)
 
   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);
+
+  gtk_style_set_register_property ("border-width", G_TYPE_INT, NULL, NULL);
+  gtk_style_set_register_property ("border-radius", G_TYPE_INT, NULL, NULL);
 
   gtk_style_set_register_property ("background-image", CAIRO_GOBJECT_TYPE_PATTERN, NULL, NULL);
   gtk_style_set_register_property ("border-image", GTK_TYPE_9SLICE, NULL, NULL);



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