]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
Commented out call that breaks metal style setting before Create
[wxWidgets.git] / src / gtk / app.cpp
index 9f3abf88b96300916499985bf9a265fbde0265a6..286164ca96f27436a2f4fed2685452f2826aa7c6 100644 (file)
 
 #include "wx/unix/private.h"
 #include "wx/gtk/win_gtk.h"
+#include "wx/gtk/private.h"
 
 #include <gtk/gtk.h>
 
+//-----------------------------------------------------------------------------
+// link GnomeVFS
+//-----------------------------------------------------------------------------
+
+#if wxUSE_LIBGNOMEVFS
+#include "wx/html/forcelnk.h"
+FORCE_LINK(gnome_vfs)
+#endif
+
 //-----------------------------------------------------------------------------
 // global data
 //-----------------------------------------------------------------------------
@@ -90,8 +100,6 @@ static GtkWidget *gs_RootWindow = (GtkWidget*) NULL;
 // idle system
 //-----------------------------------------------------------------------------
 
-extern bool g_isIdle;
-
 void wxapp_install_idle_handler();
 
 #if wxUSE_THREADS
@@ -249,11 +257,11 @@ static gint wxapp_idle_callback( gpointer WXUNUSED(data) )
         wxTheApp->m_idleTag = 0;
     }
 
-    bool moreIdles = false;
+    bool moreIdles;
 
     // Send idle event to all who request them as long as
     // no events have popped up in the event queue.
-    while (moreIdles = wxTheApp->ProcessIdle() && (gtk_events_pending() == 0))
+    while ( (moreIdles = wxTheApp->ProcessIdle()) && gtk_events_pending() == 0)
         ;
 
     // Release lock again