[Xfce4-commits] <parole:master> Fixed Xlib crash that happened with large playlist switching.

Sean Davis noreply at xfce.org
Fri Jul 27 22:26:01 CEST 2012


Updating branch refs/heads/master
         to 886834ac12f79fcd9704be0609769ea9999498ba (commit)
       from 8a15515bb7be36c752f1abd6983f376eaf5aa061 (commit)

commit 886834ac12f79fcd9704be0609769ea9999498ba
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Fri Jul 27 16:25:31 2012 -0400

    Fixed Xlib crash that happened with large playlist switching.

 src/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index 59e7dbd..e6aa834 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,6 +47,8 @@
 #include "parole-builder.h"
 #include "parole-rc-utils.h"
 
+#include <X11/X.h>
+
 static void G_GNUC_NORETURN
 show_version (void)
 {
@@ -244,6 +246,8 @@ int main (int argc, char **argv)
     
     if ( !g_thread_supported () )
 	g_thread_init (NULL);
+	
+	XInitThreads();
 
     xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
     


More information about the Xfce4-commits mailing list