diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-20 08:00:34 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:56 +0100 |
commit | 11ec7051337a51548969f93533945dafa604a21c (patch) | |
tree | 12218e61d5429b6ac403b24e1c7ccf08f1981a8c /gtk/gtkcssimage.c | |
parent | b3389a017a3b21e96be227db94b2a9d8420d29d3 (diff) | |
download | gtk+-11ec7051337a51548969f93533945dafa604a21c.tar.gz |
css: Add image implementation for urls
Diffstat (limited to 'gtk/gtkcssimage.c')
-rw-r--r-- | gtk/gtkcssimage.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkcssimage.c b/gtk/gtkcssimage.c index 2aec9bb866..e46706cbf2 100644 --- a/gtk/gtkcssimage.c +++ b/gtk/gtkcssimage.c @@ -22,6 +22,9 @@ #include "gtkcssimageprivate.h" +/* for the types only */ +#include "gtk/gtkcssimageurlprivate.h" + G_DEFINE_ABSTRACT_TYPE (GtkCssImage, _gtk_css_image, G_TYPE_OBJECT) static int @@ -165,7 +168,7 @@ _gtk_css_image_new_parse (GtkCssParser *parser, g_return_val_if_fail (parser != NULL, NULL); g_return_val_if_fail (G_IS_FILE (base), NULL); - image = g_object_new (GTK_TYPE_CSS_IMAGE, NULL); + image = g_object_new (GTK_TYPE_CSS_IMAGE_URL, NULL); klass = GTK_CSS_IMAGE_GET_CLASS (image); if (!klass->parse (image, parser, base)) |