[gdk-pixbuf] thumbnailer: Update from gnome-thumbnailer-skeleton master
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] thumbnailer: Update from gnome-thumbnailer-skeleton master
- Date: Tue, 7 Feb 2017 11:03:26 +0000 (UTC)
commit 8f6453c0cf6956d35afe9d8d789c959779564dd9
Author: Philip Withnall <withnall endlessm com>
Date: Mon Jan 16 10:17:56 2017 +0000
thumbnailer: Update from gnome-thumbnailer-skeleton master
https://github.com/hadess/gnome-thumbnailer-skeleton/commits/master
Add version checks around g_type_init() call
g_type_init() was deprecated (made unnecessary) in GLib 2.36.0, so don’t
call it if we are compiled against a new enough version of GLib.
https://bugzilla.gnome.org/show_bug.cgi?id=777315
thumbnailer/gnome-thumbnailer-skeleton.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/thumbnailer/gnome-thumbnailer-skeleton.c b/thumbnailer/gnome-thumbnailer-skeleton.c
index 812b584..10b8d73 100644
--- a/thumbnailer/gnome-thumbnailer-skeleton.c
+++ b/thumbnailer/gnome-thumbnailer-skeleton.c
@@ -231,7 +231,9 @@ int main (int argc, char **argv)
gsize length;
#endif
+#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init ();
+#endif
/* Options parsing */
context = g_option_context_new (THUMBNAILER_USAGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]