Skip to content

Commit

Permalink
smaller fix for RPi compiling issue with XInitThreads
Browse files Browse the repository at this point in the history
  • Loading branch information
jvcleave committed May 27, 2014
1 parent fb2e7ba commit 23fbe1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/openFrameworks/utils/ofSystemUtils.cpp 100644 → 100755
Expand Up @@ -191,7 +191,9 @@ gboolean text_dialog_gtk(gpointer userdata){
static void initGTK(){
static bool initialized = false;
if(!initialized){
#if !defined(TARGET_RASPBERRY_PI)
XInitThreads();
#endif
int argc=0; char **argv = NULL;
gtk_init (&argc, &argv);
ofGstUtils::startGstMainLoop();
Expand Down

0 comments on commit 23fbe1f

Please sign in to comment.