summaryrefslogtreecommitdiffstats
path: root/src/sp-image.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-04-02 14:10:25 +0000
committerJohn Smith <removethis.john.q.public@bigmail.com>2012-04-02 14:10:25 +0000
commitaa45c83d224836b06d805b74912a2e98dfe32874 (patch)
treec7f7e1e8a3b2a97d27b70e43b4fa55bfdc92c6b3 /src/sp-image.cpp
parentfix XML output of guideline color (diff)
downloadinkscape-aa45c83d224836b06d805b74912a2e98dfe32874.tar.gz
inkscape-aa45c83d224836b06d805b74912a2e98dfe32874.zip
Fix for 367607 : Remove deprecated GTK+ symbols - Deprecated *_unref symbols replaced with g_object_unref
(bzr r11139)
Diffstat (limited to 'src/sp-image.cpp')
-rw-r--r--src/sp-image.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}