summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2013-09-30 14:27:30 +0300
committerPetri Hintukainen <phintuka@users.sourceforge.net>2013-09-30 14:27:30 +0300
commit23dc61b79759b062829d2e0da33a8b6ba2dc0747 (patch)
tree7e89938f3de71ba112b8881cb4b5d79c5e9910a6
parent967aba0884dab0ca67ff7af54c6128c127d2ee80 (diff)
downloadxine-lib-23dc61b79759b062829d2e0da33a8b6ba2dc0747.tar.gz
xine-lib-23dc61b79759b062829d2e0da33a8b6ba2dc0747.tar.bz2
g_type_init() is deprecated
-rw-r--r--src/video_dec/gdkpixbuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_dec/gdkpixbuf.c b/src/video_dec/gdkpixbuf.c
index 3879e0463..ca5c9c6b6 100644
--- a/src/video_dec/gdkpixbuf.c
+++ b/src/video_dec/gdkpixbuf.c
@@ -255,7 +255,9 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen,
lprintf("opened\n");
+#if (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION <= 35))
g_type_init ();
+#endif
this = (image_decoder_t *) calloc(1, sizeof(image_decoder_t));