From f7dd4238626bbbb453edc7170d661731e4948534 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 20 Oct 2010 18:44:48 +0200 Subject: [PATCH] GtkStyleSet: Register the "border-radius" property --- gtk/gtkstyleset.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/gtkstyleset.c b/gtk/gtkstyleset.c index 24641621ad..9aa5519ec7 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);