summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-04-18 18:51:08 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-04-18 18:51:08 +0000
commita6a13dff0fdb282fa445f88654f20f0c5e9305f6 (patch)
treee667ac1fba66a03f5ef760bfa748c251bcf45a75
parentf7dfc04962431085c163652173a1a07651483e2d (diff)
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.
-rw-r--r--ChangeLog5
-rw-r--r--tests/icles/metadata_editor.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fc34dc43c..1ec2d5ad5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-18 Tim-Philipp Müller <tim at centricular dot net>
+
+ * tests/icles/metadata_editor.c:
+ Add cast to placate gcc 4.1.2.
+
2008-04-16 Jan Schmidt <jan.schmidt@sun.com>
* configure.ac:
diff --git a/tests/icles/metadata_editor.c b/tests/icles/metadata_editor.c
index dcb4942f9..4c4afb205 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));