[balsa/gtk3] Use g_type_init, and don't use g_threads_init
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Use g_type_init, and don't use g_threads_init
- Date: Thu, 27 Oct 2011 00:10:14 +0000 (UTC)
commit ec38e0f1e3a6a5cc72e890ce17addc5aa3d38d96
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Oct 26 20:04:26 2011 -0400
Use g_type_init, and don't use g_threads_init
* src/main.c (threads_init): use g_type_init, which is required,
not g_threads_init, which is redundant.
ChangeLog | 5 +++++
src/main.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c44af1a..bb3c969 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-26 Peter Bloomfield
+
+ * src/main.c (threads_init): use g_type_init, which is required,
+ not g_threads_init, which is redundant.
+
2011-10-24 Peter Bloomfield <peter t43 bellsouth net>
* src/main.c (balsa_handle_automation_options), (balsa_init),
diff --git a/src/main.c b/src/main.c
index 8d202dd..9f00192 100644
--- a/src/main.c
+++ b/src/main.c
@@ -473,7 +473,7 @@ pthread_mutex_t checking_mail_lock = PTHREAD_MUTEX_INITIALIZER;
static void
threads_init(void)
{
- g_thread_init(NULL);
+ g_type_init();
libbalsa_threads_init();
gdk_threads_init();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]