diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 11:31:35 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 11:31:35 +0000 |
commit | f524ff571f142f1400172bd5c1461348b208c2c3 (patch) | |
tree | 7a55adcbe790780bf13e1027b7c1d3193062f990 /daemon/main.c | |
parent | 0cad9b9ab1777bae2a2233be8ceac9a4accb074f (diff) | |
download | gvfs-f524ff571f142f1400172bd5c1461348b208c2c3.tar.gz |
Initialize dbus thread support in daemons
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1170944568 +0100
svn path=/trunk/; revision=306
Diffstat (limited to 'daemon/main.c')
-rw-r--r-- | daemon/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon/main.c b/daemon/main.c index bb128c87..4b1013c9 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -38,7 +38,9 @@ main (int argc, char *argv[]) g_error_free (error); return 1; } - + + dbus_threads_init_default (); + g_thread_init (NULL); g_type_init (); |