forked from AuroraMiddleware/gtk
GtkCssImageUrl: Implement is_computed()
This commit is contained in:
parent
f62535affc
commit
69fe705d0d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user