[gtk+] Fix the build



commit 6e4f7ad857bd75c9e4157c47ebb5013b0293487b
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 8 00:37:04 2017 -0500

    Fix the build

 gtk/gtkcssimageurl.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssimageurl.c b/gtk/gtkcssimageurl.c
index dd19051..21981e8 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]