[Xfce4-commits] <ristretto:master> Do not call gdk_pixbuf_loader_close on failure

Stephan Arts noreply at xfce.org
Tue Oct 18 18:54:05 CEST 2011


Updating branch refs/heads/master
         to 39f7d71c465a3131fc5922c1ef639be51d5dbb40 (commit)
       from 6666c13263ffd4e76189719fa218cfb07f9bb311 (commit)

commit 39f7d71c465a3131fc5922c1ef639be51d5dbb40
Author: Stephan Arts <stephan at xfce.org>
Date:   Tue Oct 18 18:00:49 2011 +0200

    Do not call gdk_pixbuf_loader_close on failure
    
    gdk_pixbuf_loader_write has already called gdk_pixbuf_loader_close on failure

 src/image_viewer.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/image_viewer.c b/src/image_viewer.c
index 6772119..5268f5a 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -1310,8 +1310,6 @@ cb_rstto_image_viewer_read_input_stream_ready (
             /* Clean up the input-stream */
             g_input_stream_close (G_INPUT_STREAM (source_object), NULL, NULL);
             g_object_unref(source_object);
-
-            gdk_pixbuf_loader_close (transaction->loader, NULL);
         }
         else
         {


More information about the Xfce4-commits mailing list