summaryrefslogtreecommitdiff
path: root/gtk/gtkcssimageurl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcssimageurl.c')
-rw-r--r--gtk/gtkcssimageurl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkcssimageurl.c b/gtk/gtkcssimageurl.c
index dd1905176b..21981e85e3 100644
--- a/gtk/gtkcssimageurl.c
+++ b/gtk/gtkcssimageurl.c
@@ -33,7 +33,6 @@ gtk_css_image_url_load_image (GtkCssImageUrl *url,
{
GdkTexture *texture;
GError *local_error = NULL;
- GFileInputStream *input;
if (url->loaded_image)
return url->loaded_image;
@@ -73,7 +72,7 @@ gtk_css_image_url_load_image (GtkCssImageUrl *url,
url->loaded_image = gtk_css_image_surface_new (texture);
- g_clear_pointer (&texture);
+ g_clear_object (&texture);
g_clear_error (&local_error);
return url->loaded_image;