From 69fe705d0db5d842ed1212cf7dda139c011d2a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 24 Jan 2020 16:02:34 +0100 Subject: [PATCH] GtkCssImageUrl: Implement is_computed() --- gtk/gtkcssimageurl.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk/gtkcssimageurl.c b/gtk/gtkcssimageurl.c index 398e9c3705..3820b5c966 100644 --- a/gtk/gtkcssimageurl.c +++ b/gtk/gtkcssimageurl.c @@ -161,6 +161,12 @@ gtk_css_image_url_is_invalid (GtkCssImage *image) return gtk_css_image_is_invalid (gtk_css_image_url_load_image (url, NULL)); } +static gboolean +gtk_css_image_url_is_computed (GtkCssImage *image) +{ + return TRUE; +} + static gboolean gtk_css_image_url_parse (GtkCssImage *image, GtkCssParser *parser) @@ -249,6 +255,7 @@ _gtk_css_image_url_class_init (GtkCssImageUrlClass *klass) image_class->print = gtk_css_image_url_print; image_class->equal = gtk_css_image_url_equal; image_class->is_invalid = gtk_css_image_url_is_invalid; + image_class->is_computed = gtk_css_image_url_is_computed; object_class->dispose = gtk_css_image_url_dispose; }