diff options
author | Alexander Larsson <alexl@redhat.com> | 2011-11-24 21:00:57 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2011-11-25 16:14:19 +0100 |
commit | 8411f1a2791adf5c75c83941dbaaa9d7189c6fa8 (patch) | |
tree | 0062122eb933f6978cd0337fb6f2a182d4af45e8 /gtk/gtkstyleproperty.c | |
parent | 330fd3b6141a0fbdcfa85f580627c05850b14cb4 (diff) | |
download | gtk+-8411f1a2791adf5c75c83941dbaaa9d7189c6fa8.tar.gz |
Implement background-clip and background-origin
Diffstat (limited to 'gtk/gtkstyleproperty.c')
-rw-r--r-- | gtk/gtkstyleproperty.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c index 21b190efa5..d300fefbca 100644 --- a/gtk/gtkstyleproperty.c +++ b/gtk/gtkstyleproperty.c @@ -2945,6 +2945,18 @@ gtk_style_property_init (void) "Border style", GTK_TYPE_BORDER_STYLE, GTK_BORDER_STYLE_NONE, 0)); + gtk_style_properties_register_property (NULL, + g_param_spec_enum ("background-clip", + "Background clip", + "Background clip", + GTK_TYPE_CSS_AREA, + GTK_CSS_AREA_BORDER_BOX, 0)); + gtk_style_properties_register_property (NULL, + g_param_spec_enum ("background-origin", + "Background origin", + "Background origin", + GTK_TYPE_CSS_AREA, + GTK_CSS_AREA_PADDING_BOX, 0)); _gtk_style_property_register (g_param_spec_boxed ("border-top-color", "Border top color", "Border top color", |