diff options
| author | Denis Declara <declara91@gmail.com> | 2012-04-15 12:29:45 +0000 |
|---|---|---|
| committer | Denis Declara <declara91@gmail.com> | 2012-04-15 12:29:45 +0000 |
| commit | 6b5ff661a46ea1779c86f6947006c5ed32926117 (patch) | |
| tree | a5b170f0830854e99ad065055ee2a3996933e614 /src/sp-image.cpp | |
| parent | Improved User interface. (diff) | |
| parent | i18n. Fix for Bug #980518 (Please use c-format). (diff) | |
| download | inkscape-6b5ff661a46ea1779c86f6947006c5ed32926117.tar.gz inkscape-6b5ff661a46ea1779c86f6947006c5ed32926117.zip | |
Trunk merge
(bzr r11073.1.15)
Diffstat (limited to 'src/sp-image.cpp')
| -rw-r--r-- | src/sp-image.cpp | 6 |
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; } |
