[gnome-shell] Remove use of deprecated g_type_init () ...
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Remove use of deprecated g_type_init () ...
- Date: Wed, 17 Oct 2012 20:49:52 +0000 (UTC)
commit 1735f28f5aa0d8626aed4361c08cda4ab889cf0a
Author: Florian MÃllner <fmuellner gnome org>
Date: Wed Oct 17 15:25:18 2012 +0200
Remove use of deprecated g_type_init () ...
... and bump GObject requirement accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=686318
browser-plugin/browser-plugin.c | 2 --
configure.ac | 2 +-
src/hotplug-sniffer/hotplug-sniffer.c | 2 --
src/main.c | 2 --
src/run-js-test.c | 1 -
5 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/browser-plugin/browser-plugin.c b/browser-plugin/browser-plugin.c
index b47b41c..9677789 100644
--- a/browser-plugin/browser-plugin.c
+++ b/browser-plugin/browser-plugin.c
@@ -153,8 +153,6 @@ NP_Initialize(NPNetscapeFuncs *pfuncs, NPPluginFuncs *plugin)
/* global initialization routine, called once when plugin
is loaded */
- g_type_init ();
-
g_debug ("plugin loaded");
memcpy (&funcs, pfuncs, sizeof (funcs));
diff --git a/configure.ac b/configure.ac
index 41bbd67..73ce9f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@ GOBJECT_INTROSPECTION_MIN_VERSION=0.10.1
GJS_MIN_VERSION=1.33.2
MUTTER_MIN_VERSION=3.6.1
GTK_MIN_VERSION=3.3.9
-GIO_MIN_VERSION=2.31.6
+GIO_MIN_VERSION=2.35.0
LIBECAL_MIN_VERSION=3.5.3
LIBEDATASERVER_MIN_VERSION=3.5.3
LIBEDATASERVERUI_MIN_VERSION=3.5.3
diff --git a/src/hotplug-sniffer/hotplug-sniffer.c b/src/hotplug-sniffer/hotplug-sniffer.c
index 31b743d..af3a4c2 100644
--- a/src/hotplug-sniffer/hotplug-sniffer.c
+++ b/src/hotplug-sniffer/hotplug-sniffer.c
@@ -240,8 +240,6 @@ main (int argc,
{
guint name_owner_id;
- g_type_init ();
-
introspection_data = g_dbus_node_info_new_for_xml (introspection_xml, NULL);
g_assert (introspection_data != NULL);
diff --git a/src/main.c b/src/main.c
index 001a91a..a0cf0dc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -361,8 +361,6 @@ main (int argc, char **argv)
int ecode;
TpDebugSender *sender;
- g_type_init ();
-
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
diff --git a/src/run-js-test.c b/src/run-js-test.c
index 894e2b6..84c1d26 100644
--- a/src/run-js-test.c
+++ b/src/run-js-test.c
@@ -92,7 +92,6 @@ main(int argc, char **argv)
g_error ("option parsing failed: %s", error->message);
setlocale (LC_ALL, "");
- g_type_init ();
_shell_global_init (NULL);
global = shell_global_get ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]