From 23dc61b79759b062829d2e0da33a8b6ba2dc0747 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Mon, 30 Sep 2013 14:27:30 +0300 Subject: g_type_init() is deprecated --- src/video_dec/gdkpixbuf.c | 2 ++ 1 file changed, 2 insertions(+) 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)); -- cgit v1.2.3