]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/uilib/uilib.cpp
Purge GTK forward declarations
[xonotic/netradiant.git] / libs / uilib / uilib.cpp
index 1e37a1e05287b73f53b3d366d4370777b5299340..e91f03fe813e0be768cae3a01faeff81b35735a4 100644 (file)
@@ -22,6 +22,13 @@ namespace ui {
         gtk_main();
     }
 
         gtk_main();
     }
 
+    void process()
+    {
+        while (gtk_events_pending()) {
+            gtk_main_iteration();
+        }
+    }
+
     Widget root{nullptr};
 
 #define IMPL(T, F) template<> _IMPL(T, F)
     Widget root{nullptr};
 
 #define IMPL(T, F) template<> _IMPL(T, F)