summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/icles/metadata_editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/icles/metadata_editor.c b/tests/icles/metadata_editor.c
index dcb4942f..4c4afb20 100644
--- a/tests/icles/metadata_editor.c
+++ b/tests/icles/metadata_editor.c
@@ -967,7 +967,7 @@ me_gst_bus_callback_view (GstBus * bus, GstMessage * message, gpointer data)
if (last_pixbuf)
g_object_unref (last_pixbuf);
- last_pixbuf = g_value_dup_object (val);
+ last_pixbuf = GDK_PIXBUF (g_value_dup_object (val));
g_print ("Got image pixbuf: %dx%d\n", gdk_pixbuf_get_width (last_pixbuf),
gdk_pixbuf_get_height (last_pixbuf));