shorthand: Make border-image unget/settable

This commit is contained in:
Benjamin Otte 2012-01-04 04:04:59 +01:00
parent f014d4f02e
commit 96abf8c725

View File

@ -25,7 +25,7 @@
#include <cairo-gobject.h> #include <cairo-gobject.h>
#include <math.h> #include <math.h>
#include "gtkborderimageprivate.h" #include "gtkcssimageprivate.h"
#include "gtkcssstylefuncsprivate.h" #include "gtkcssstylefuncsprivate.h"
#include "gtkcsstypesprivate.h" #include "gtkcsstypesprivate.h"
@ -677,9 +677,9 @@ _gtk_css_shorthand_property_init_properties (void)
unpack_border_color, unpack_border_color,
pack_border_color); pack_border_color);
_gtk_css_shorthand_property_register ("border-image", _gtk_css_shorthand_property_register ("border-image",
GTK_TYPE_BORDER_IMAGE, G_TYPE_NONE,
border_image_subproperties, border_image_subproperties,
parse_border_image, parse_border_image,
_gtk_border_image_unpack, NULL,
_gtk_border_image_pack); NULL);
} }