[Xfce4-commits] <ristretto:master> Remove deprecated call to gdk_pixbuf_unref

Stephan Arts noreply at xfce.org
Wed Sep 21 20:02:01 CEST 2011


Updating branch refs/heads/master
         to c8fbb5a46307dcfe7e4ffd8f69cdee18864c2b2f (commit)
       from 3c438c686424247ba155ac4326fd36f556f75523 (commit)

commit c8fbb5a46307dcfe7e4ffd8f69cdee18864c2b2f
Author: Stephan Arts <stephan at xfce.org>
Date:   Tue Sep 20 21:58:46 2011 +0200

    Remove deprecated call to gdk_pixbuf_unref

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

diff --git a/src/image_viewer.c b/src/image_viewer.c
index ed56f5c..3670f6d 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -809,7 +809,7 @@ rstto_image_viewer_paint_selection (RsttoImageViewer *viewer, GdkDrawable *drawa
                             GDK_RGB_DITHER_NONE,
                             0, 0);
 
-            gdk_pixbuf_unref(sub);
+            g_object_unref(sub);
             sub = NULL;
         }
 


More information about the Xfce4-commits mailing list