[gtk/wip/baedert/for-master: 18/29] GtkCssImageUrl: Implement is_computed()
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 18/29] GtkCssImageUrl: Implement is_computed()
- Date: Sun, 26 Jan 2020 17:03:55 +0000 (UTC)
commit 8a3217355c1ae2c989b25ae3875878e9d9e4098f
Author: Timm Bäder <mail baedert org>
Date: Fri Jan 24 16:02:34 2020 +0100
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]