[gtk+/wip/css: 130/163] shorthand: Make border-image unget/settable



commit d5c3a9d56d9b8f5fcb9746c708612600057a0749
Author: Benjamin Otte <otte redhat com>
Date:   Wed Jan 4 04:04:59 2012 +0100

    shorthand: Make border-image unget/settable

 gtk/gtkcssshorthandpropertyimpl.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index c394ffb..caaf01e 100644
--- a/gtk/gtkcssshorthandpropertyimpl.c
+++ b/gtk/gtkcssshorthandpropertyimpl.c
@@ -25,7 +25,7 @@
 #include <cairo-gobject.h>
 #include <math.h>
 
-#include "gtkborderimageprivate.h"
+#include "gtkcssimageprivate.h"
 #include "gtkcssstylefuncsprivate.h"
 #include "gtkcsstypesprivate.h"
 
@@ -677,9 +677,9 @@ _gtk_css_shorthand_property_init_properties (void)
                                           unpack_border_color,
                                           pack_border_color);
   _gtk_css_shorthand_property_register   ("border-image",
-                                          GTK_TYPE_BORDER_IMAGE,
+                                          G_TYPE_NONE,
                                           border_image_subproperties,
                                           parse_border_image,
-                                          _gtk_border_image_unpack,
-                                          _gtk_border_image_pack);
+                                          NULL,
+                                          NULL);
 }



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