mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
tests/icles/gdkpixbufsink-test.c: Add cast to placate gcc 4.1.2.
Original commit message from CVS: * tests/icles/gdkpixbufsink-test.c: Add cast to placate gcc 4.1.2.
This commit is contained in:
parent
b13ecc8394
commit
194229250a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-04-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* tests/icles/gdkpixbufsink-test.c:
|
||||||
|
Add cast to placate gcc 4.1.2.
|
||||||
|
|
||||||
2008-04-16 Jan Schmidt <jan.schmidt@sun.com>
|
2008-04-16 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -160,7 +160,7 @@ bus_message_cb (GstBus * bus, GstMessage * msg, AppInfo * info)
|
||||||
val = gst_structure_get_value (msg->structure, "pixbuf");
|
val = gst_structure_get_value (msg->structure, "pixbuf");
|
||||||
g_return_if_fail (val != NULL);
|
g_return_if_fail (val != NULL);
|
||||||
|
|
||||||
pixbuf = g_value_dup_object (val);
|
pixbuf = GDK_PIXBUF (g_value_dup_object (val));
|
||||||
gtk_image_set_from_pixbuf (GTK_IMAGE (info->img), pixbuf);
|
gtk_image_set_from_pixbuf (GTK_IMAGE (info->img), pixbuf);
|
||||||
g_object_unref (pixbuf);
|
g_object_unref (pixbuf);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue