]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
Use wxGtkString here too
[wxWidgets.git] / src / gtk / app.cpp
index 1614d6c5f50f564a372f009983d03e820cdf5b50..286164ca96f27436a2f4fed2685452f2826aa7c6 100644 (file)
 
 #include <gtk/gtk.h>
 
+//-----------------------------------------------------------------------------
+// link GnomeVFS
+//-----------------------------------------------------------------------------
+
+#if wxUSE_LIBGNOMEVFS
+#include "wx/html/forcelnk.h"
+FORCE_LINK(gnome_vfs)
+#endif
+
 //-----------------------------------------------------------------------------
 // global data
 //-----------------------------------------------------------------------------
@@ -248,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