forked from AuroraMiddleware/gtk
GtkStyleSet: Register a "background-image" property.
Ironically, it currently just handles gradients, the name is to conform to current CSS gradient implementation trends.
This commit is contained in:
parent
cf87923d1b
commit
2794e8d6dd
@ -89,6 +89,8 @@ gtk_style_set_class_init (GtkStyleSetClass *klass)
|
||||
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 ("background-image", GDK_TYPE_CAIRO_PATTERN, NULL, NULL);
|
||||
|
||||
g_value_init (&val, GTK_TYPE_THEMING_ENGINE);
|
||||
g_value_set_object (&val, (GObject *) gtk_theming_engine_load (NULL));
|
||||
gtk_style_set_register_property ("engine", GTK_TYPE_THEMING_ENGINE, &val, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user