[phonemgr] build: Remove obsolete g_thread_init() calls



commit 53dc6065afb8f46648fb4519fc1d2aef4561c63f
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 14 15:33:48 2012 +0100

    build: Remove obsolete g_thread_init() calls
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672064

 configure.in     |    2 +-
 src/main.c       |    2 --
 src/test-entry.c |    2 --
 3 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/configure.in b/configure.in
index d0a7651..366c4a8 100644
--- a/configure.in
+++ b/configure.in
@@ -44,7 +44,7 @@ PKG_CHECK_MODULES(TMP_EVO, libebook-1.2,
 
 PKG_CHECK_MODULES(LIBGSM, glib-2.0 gobject-2.0 $GNOKII_REQS gthread-2.0 bluez $evo_pc_file)
 
-PKG_CHECK_MODULES(PHONEMGR, gtk+-3.0 >= 3.0 glib-2.0 >= 2.25.0
+PKG_CHECK_MODULES(PHONEMGR, gtk+-3.0 >= 3.0 glib-2.0 >= 2.31.0
 	libcanberra-gtk3 gconf-2.0
 	$GNOME_BLUETOOTH_REQS $evo_pc_file
 	gmodule-2.0 dbus-glib-1 gnome-icon-theme >= 2.19.1
diff --git a/src/main.c b/src/main.c
index c92c68d..1d5deeb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -49,8 +49,6 @@ main (int argc, char **argv)
 	GOptionContext *context;
 	GError *error = NULL;
 
-	g_thread_init (NULL);
-
 	bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 	textdomain (GETTEXT_PACKAGE);
diff --git a/src/test-entry.c b/src/test-entry.c
index 09c361e..e3203ef 100644
--- a/src/test-entry.c
+++ b/src/test-entry.c
@@ -45,8 +45,6 @@ int main (int argc, char **argv)
 {
 	GtkWidget *window, *entry;
 
-	g_thread_init (NULL);
-
 	gtk_init (&argc, &argv);
 
 	window = gtk_dialog_new ();



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