[gnome-control-center] common: remove the use of the deprecated g_type_init function
- From: Thomas Wood <thos src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] common: remove the use of the deprecated g_type_init function
- Date: Tue, 13 Nov 2012 15:05:17 +0000 (UTC)
commit 288c3f8309d495a9e2a0401806e3a746714939ab
Author: Thomas Wood <thomas wood intel com>
Date: Tue Nov 13 10:29:29 2012 +0000
common: remove the use of the deprecated g_type_init function
The g_type_init function was deprecated in glib 2.35.1 and the type system
is now initialised automatically.
https://bugzilla.gnome.org/show_bug.cgi?id=688231
configure.ac | 2 +-
panels/common/list-languages.c | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8f0a905..d07054b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,7 @@ dnl ==============================================
dnl Check that we meet the dependencies
dnl ==============================================
-GLIB_REQUIRED_VERSION=2.31.0
+GLIB_REQUIRED_VERSION=2.35.1
GTK_REQUIRED_VERSION=3.5.13
PA_REQUIRED_VERSION=2.0
CANBERRA_REQUIRED_VERSION=0.13
diff --git a/panels/common/list-languages.c b/panels/common/list-languages.c
index c65e889..6842acf 100644
--- a/panels/common/list-languages.c
+++ b/panels/common/list-languages.c
@@ -14,8 +14,6 @@ int main (int argc, char **argv)
setlocale (LC_ALL, NULL);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- g_type_init ();
-
if (argc > 1) {
guint i;
for (i = 1; i < argc; i++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]