From f7c14bbf3fb5ee675493f937f955ac574ef40b92 Mon Sep 17 00:00:00 2001 From: Benedikt Meurer <benny@xfce.org> Date: Wed, 3 Jan 2007 10:01:49 +0000 Subject: [PATCH] 2007-01-03 Benedikt Meurer <benny@xfce.org> * thunar/main.c(main): Need to initialize GThread first. (Old svn revision: 24253) --- ChangeLog | 4 ++++ thunar/main.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index e2e69c2a8..eb0bf3957 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-01-03 Benedikt Meurer <benny@xfce.org> + + * thunar/main.c(main): Need to initialize GThread first. + 2006-12-31 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-update-thumbnailers-cache.c: Add ability to diff --git a/thunar/main.c b/thunar/main.c index 3165fcbb1..113328f33 100644 --- a/thunar/main.c +++ b/thunar/main.c @@ -94,6 +94,10 @@ main (int argc, char **argv) g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING); #endif + /* initialize the GThread system */ + if (!g_thread_supported ()) + g_thread_init (NULL); + /* initialize Gtk+ */ if (!gtk_init_with_args (&argc, &argv, _("[FILES...]"), option_entries, GETTEXT_PACKAGE, &error)) { -- GitLab