diff options
author | Alexander Larsson <alexl@redhat.com> | 2013-06-27 18:29:38 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2013-07-03 14:39:25 +0200 |
commit | 48ff7d026eeb3931bff607787c743bd756c8710a (patch) | |
tree | 362a5115d6d9bfbcbd9d7eabef72bc3db35a3a04 /gtk/gtkcssimage.c | |
parent | af2c40bd54149237cd4ab998b5515167018fdc47 (diff) | |
download | gtk+-48ff7d026eeb3931bff607787c743bd756c8710a.tar.gz |
CSS: Add -gtk-scaled(image1,image2,...) support for hidpi assets
Diffstat (limited to 'gtk/gtkcssimage.c')
-rw-r--r-- | gtk/gtkcssimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcssimage.c b/gtk/gtkcssimage.c index d1c1df72bb..a79b3e1398 100644 --- a/gtk/gtkcssimage.c +++ b/gtk/gtkcssimage.c @@ -28,6 +28,7 @@ #include "gtk/gtkcssimagegradientprivate.h" #include "gtk/gtkcssimagelinearprivate.h" #include "gtk/gtkcssimageurlprivate.h" +#include "gtk/gtkcssimagescaledprivate.h" #include "gtk/gtkcssimagewin32private.h" G_DEFINE_ABSTRACT_TYPE (GtkCssImage, _gtk_css_image, G_TYPE_OBJECT) @@ -419,6 +420,7 @@ gtk_css_image_get_parser_type (GtkCssParser *parser) } image_types[] = { { "url", _gtk_css_image_url_get_type }, { "-gtk-gradient", _gtk_css_image_gradient_get_type }, + { "-gtk-scaled", _gtk_css_image_scaled_get_type }, { "-gtk-win32-theme-part", _gtk_css_image_win32_get_type }, { "linear-gradient", _gtk_css_image_linear_get_type }, { "repeating-linear-gradient", _gtk_css_image_linear_get_type }, |