[gnome-control-center] [aboutme] initialize GThread subsystem
- From: Jens Granseuer <jensg src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-control-center] [aboutme] initialize GThread subsystem
- Date: Thu, 21 May 2009 11:05:37 -0400 (EDT)
commit 2983cb25ead352469c370f8c130a904f802b0dac
Author: Vivian Zhang <vivian zhang intel com>
Date: Thu May 21 17:04:14 2009 +0200
[aboutme] initialize GThread subsystem
initialize the GThread subsystem because the thumbnail factory needs
it (bug #583451)
---
capplets/about-me/ChangeLog | 7 +++++++
capplets/about-me/gnome-about-me.c | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/capplets/about-me/ChangeLog b/capplets/about-me/ChangeLog
index a9c0b23..1ec2161 100644
--- a/capplets/about-me/ChangeLog
+++ b/capplets/about-me/ChangeLog
@@ -1,3 +1,10 @@
+2009-05-21 Jens Granseuer <jensgr gmx net>
+
+ Patch by: Vivian Zhang <vivian zhang intel com>
+
+ * gnome-about-me.c (main): initialize the GThread subsystem because
+ the thumbnail factory needs it (bug #583451)
+
2009-03-12 Bastien Nocera <hadess hadess net>
* gnome-about-me-fingerprint.c (finger_combobox_changed):
diff --git a/capplets/about-me/gnome-about-me.c b/capplets/about-me/gnome-about-me.c
index df8250b..211514d 100644
--- a/capplets/about-me/gnome-about-me.c
+++ b/capplets/about-me/gnome-about-me.c
@@ -1091,6 +1091,10 @@ main (int argc, char **argv)
int rc = 0;
capplet_init (NULL, &argc, &argv);
+
+ if (!g_thread_supported ())
+ g_thread_init (NULL);
+
dbus_g_object_register_marshaller (fprintd_marshal_VOID__STRING_BOOLEAN,
G_TYPE_NONE, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_INVALID);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]