summaryrefslogtreecommitdiff
path: root/telepathy-glib
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-glib')
-rw-r--r--telepathy-glib/errors.c1
-rw-r--r--telepathy-glib/run.c2
-rw-r--r--telepathy-glib/simple-client-factory.c2
3 files changed, 0 insertions, 5 deletions
diff --git a/telepathy-glib/errors.c b/telepathy-glib/errors.c
index bc045b5be..358f3130d 100644
--- a/telepathy-glib/errors.c
+++ b/telepathy-glib/errors.c
@@ -335,7 +335,6 @@ tp_error_quark (void)
* "tp-error-quark" */
GQuark domain = g_quark_from_static_string ("tp_errors");
- g_type_init ();
dbus_g_error_domain_register (domain, TP_ERROR_PREFIX,
TP_TYPE_ERROR);
g_once_init_leave (&quark, domain);
diff --git a/telepathy-glib/run.c b/telepathy-glib/run.c
index c3df19037..1b3393caf 100644
--- a/telepathy-glib/run.c
+++ b/telepathy-glib/run.c
@@ -219,8 +219,6 @@ tp_run_connection_manager (const char *prog_name,
add_signal_handlers ();
- g_type_init ();
-
g_set_prgname (prog_name);
#ifdef ENABLE_BACKTRACE
diff --git a/telepathy-glib/simple-client-factory.c b/telepathy-glib/simple-client-factory.c
index c096ea040..0060b9d0a 100644
--- a/telepathy-glib/simple-client-factory.c
+++ b/telepathy-glib/simple-client-factory.c
@@ -51,8 +51,6 @@
* TpSimpleClientFactory *factory;
* TpAccountManager *manager;
*
- * g_type_init ();
- *
* factory = my_factory_new ();
* manager = tp_account_manager_new_with_factory (factory);
* tp_account_manager_set_default (manager);