From a6a13dff0fdb282fa445f88654f20f0c5e9305f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 18 Apr 2008 18:51:08 +0000 Subject: tests/icles/metadata_editor.c: Add cast to placate gcc 4.1.2. Original commit message from CVS: * tests/icles/metadata_editor.c: Add cast to placate gcc 4.1.2. --- ChangeLog | 5 +++++ tests/icles/metadata_editor.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fc34dc43..1ec2d5ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-18 Tim-Philipp Müller + + * tests/icles/metadata_editor.c: + Add cast to placate gcc 4.1.2. + 2008-04-16 Jan Schmidt * configure.ac: 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)); -- cgit v1.2.1