[seahorse] Fix for glib deprecations
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] Fix for glib deprecations
- Date: Mon, 22 Oct 2012 19:14:25 +0000 (UTC)
commit 9a6c7f49f23e71ba5122dc081b88d0ab3ea5e405
Author: Stef Walter <stefw gnome org>
Date: Mon Oct 22 21:07:56 2012 +0200
Fix for glib deprecations
* g_type_init() was deprecated in glib 2.35.0
src/seahorse-main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/seahorse-main.c b/src/seahorse-main.c
index de470fb..aa02ff3 100644
--- a/src/seahorse-main.c
+++ b/src/seahorse-main.c
@@ -54,7 +54,9 @@ main (int argc, char **argv)
textdomain (GETTEXT_PACKAGE);
#endif
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
application = seahorse_application_new ();
g_signal_connect (application, "activate", G_CALLBACK (on_application_activate), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]