tests/icles/metadata_editor.c: Add cast to placate gcc 4.1.2.
authorTim-Philipp Müller <tim@centricular.net>
Fri, 18 Apr 2008 18:51:08 +0000 (18:51 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 18 Apr 2008 18:51:08 +0000 (18:51 +0000)
Original commit message from CVS:
* tests/icles/metadata_editor.c:
Add cast to placate gcc 4.1.2.

ChangeLog
tests/icles/metadata_editor.c

index fc34dc4..1ec2d5a 100644 (file)
--- 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:
index dcb4942..4c4afb2 100644 (file)
@@ -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));