summaryrefslogtreecommitdiffstats
path: root/src/helper/pixbuf-ops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/pixbuf-ops.cpp')
-rw-r--r--src/helper/pixbuf-ops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/pixbuf-ops.cpp b/src/helper/pixbuf-ops.cpp
index f980953dc..cae297e89 100644
--- a/src/helper/pixbuf-ops.cpp
+++ b/src/helper/pixbuf-ops.cpp
@@ -77,7 +77,7 @@ bool sp_export_jpg_file(SPDocument *doc, gchar const *filename,
g_snprintf(c, 32, "%f", quality);
gboolean saved = gdk_pixbuf_save (pixbuf, filename, "jpeg", NULL, "quality", c, NULL);
g_free(c);
- gdk_pixbuf_unref (pixbuf);
+ g_object_unref (pixbuf);
return saved;
}