[gnome-terminal] all: Remove glib version checks



commit dfadc95bd4e694e8029892eac4ddb55cfe00169f
Author: Christian Persch <chpe gnome org>
Date:   Thu Dec 26 00:45:12 2013 +0100

    all: Remove glib version checks
    
    We depend on a newer version already, so just remove the checks.

 src/client.c    |    4 ----
 src/migration.c |    4 ----
 src/server.c    |    4 ----
 src/terminal.c  |    4 ----
 4 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/src/client.c b/src/client.c
index 42d7c03..f5e624c 100644
--- a/src/client.c
+++ b/src/client.c
@@ -772,10 +772,6 @@ main (gint argc, gchar *argv[])
 
   terminal_i18n_init (TRUE);
 
-#if !GLIB_CHECK_VERSION (2, 35, 3)
-  g_type_init ();
-#endif
-
   _terminal_debug_init ();
 
   ret = EXIT_FAILURE;
diff --git a/src/migration.c b/src/migration.c
index d1d9715..b1e703c 100644
--- a/src/migration.c
+++ b/src/migration.c
@@ -628,10 +628,6 @@ main (int argc,
 
   setlocale (LC_ALL, "");
 
-#if !GLIB_CHECK_VERSION (2, 35, 3)
-  g_type_init ();
-#endif
-
   _terminal_debug_init ();
 
   context = g_option_context_new ("");
diff --git a/src/server.c b/src/server.c
index d7ebedb..bcad276 100644
--- a/src/server.c
+++ b/src/server.c
@@ -101,10 +101,6 @@ main (int argc, char **argv)
 #endif
 #endif
 
-#if !GLIB_CHECK_VERSION (2, 35, 3)
-  g_type_init ();
-#endif
-
   _terminal_debug_init ();
 
   // FIXMEchpe: just use / here but make sure #565328 doesn't regress
diff --git a/src/terminal.c b/src/terminal.c
index afd2523..18b860c 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -215,10 +215,6 @@ main (int argc, char **argv)
 
   terminal_i18n_init (TRUE);
 
-#if !GLIB_CHECK_VERSION (2, 35, 3)
-  g_type_init ();
-#endif
-
   _terminal_debug_init ();
 
   /* Make a NULL-terminated copy since we may need it later */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]