summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 fc34dc43..1ec2d5ad 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 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));