From aa45c83d224836b06d805b74912a2e98dfe32874 Mon Sep 17 00:00:00 2001 From: John Smith Date: Mon, 2 Apr 2012 23:10:25 +0900 Subject: Fix for 367607 : Remove deprecated GTK+ symbols - Deprecated *_unref symbols replaced with g_object_unref (bzr r11139) --- src/sp-image.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sp-image.cpp') diff --git a/src/sp-image.cpp b/src/sp-image.cpp index df0d052dd..07885ff4d 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -657,7 +657,7 @@ static void sp_image_release( SPObject *object ) } if (image->pixbuf) { - gdk_pixbuf_unref (image->pixbuf); + g_object_unref (image->pixbuf); image->pixbuf = NULL; } @@ -815,7 +815,7 @@ static void sp_image_update( SPObject *object, SPCtx *ctx, unsigned int flags ) if (flags & SP_IMAGE_HREF_MODIFIED_FLAG) { if (image->pixbuf) { - gdk_pixbuf_unref (image->pixbuf); + g_object_unref (image->pixbuf); image->pixbuf = NULL; } if ( image->pixPath ) { @@ -1254,7 +1254,7 @@ static GdkPixbuf *sp_image_pixbuf_force_rgba( GdkPixbuf * pixbuf ) result = pixbuf; } else { result = gdk_pixbuf_add_alpha(pixbuf, FALSE, 0, 0, 0); - gdk_pixbuf_unref(pixbuf); + g_object_unref(pixbuf); } return result; } -- cgit v1.2.3