[gnome-online-accounts] build: Bump minimum GLib version to 2.35
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] build: Bump minimum GLib version to 2.35
- Date: Mon, 14 Jan 2013 14:35:26 +0000 (UTC)
commit edc8504f285c189868b56153fcc854d2cb9d3e5a
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Jan 14 15:08:17 2013 +0100
build: Bump minimum GLib version to 2.35
g_type_init is not needed anymore.
configure.ac | 2 +-
src/daemon/main.c | 2 --
src/examples/list-accounts.c | 2 --
src/examples/list-providers.c | 2 --
src/examples/tweet.c | 2 --
5 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 16769c3..9d2b7d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@ GTK_DOC_CHECK([1.3])
# Libraries
#
-PKG_CHECK_MODULES(GLIB, [glib-2.0 gio-2.0 gio-unix-2.0 >= 2.34])
+PKG_CHECK_MODULES(GLIB, [glib-2.0 gio-2.0 gio-unix-2.0 >= 2.35])
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
diff --git a/src/daemon/main.c b/src/daemon/main.c
index 78841a5..4eeaafc 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -97,8 +97,6 @@ main (int argc,
name_owner_id = 0;
sigint_id = 0;
- g_type_init ();
-
opt_context = g_option_context_new ("GNOME Online Accounts daemon");
g_option_context_add_main_entries (opt_context, opt_entries, NULL);
error = NULL;
diff --git a/src/examples/list-accounts.c b/src/examples/list-accounts.c
index 59daf80..f1f16ee 100644
--- a/src/examples/list-accounts.c
+++ b/src/examples/list-accounts.c
@@ -32,8 +32,6 @@ main (int argc, char **argv)
GList *accounts, *l;
GoaAccount *account;
- g_type_init ();
-
client = goa_client_new_sync (NULL, &error);
if (!client) {
g_error ("Could not create GoaClient: %s", error->message);
diff --git a/src/examples/list-providers.c b/src/examples/list-providers.c
index 80f90ce..3aa93ad 100644
--- a/src/examples/list-providers.c
+++ b/src/examples/list-providers.c
@@ -31,8 +31,6 @@ main (int argc, char **argv)
GoaProvider *provider;
GList *providers, *l;
- g_type_init ();
-
providers = goa_provider_get_all ();
for (l = providers; l != NULL; l = l->next) {
char *provider_name;
diff --git a/src/examples/tweet.c b/src/examples/tweet.c
index 8e44185..40bb20d 100644
--- a/src/examples/tweet.c
+++ b/src/examples/tweet.c
@@ -38,8 +38,6 @@ main (int argc, char **argv)
RestProxy *proxy;
RestProxyCall *call;
- g_type_init ();
-
client = goa_client_new_sync (NULL, &error);
if (!client) {
g_error ("Could not create GoaClient: %s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]