We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bee434e commit 114b5d4Copy full SHA for 114b5d4
GUI/GtkExtras.hs
@@ -6,17 +6,20 @@ module GUI.GtkExtras where
6
7
import Graphics.UI.GtkInternals
8
import Graphics.UI.Gtk (Rectangle)
9
-import System.Glib.GError
10
import System.Glib.MainLoop
11
import Graphics.Rendering.Pango.Types
12
import Graphics.Rendering.Pango.BasicTypes
13
import Graphics.UI.Gtk.General.Enums (StateType, ShadowType)
14
15
import Foreign
16
import Foreign.C
17
-import Control.Monad
18
import Control.Concurrent.MVar
19
+#if !(mingw32_HOST_OS || mingw32_TARGET_OS)
+import System.Glib.GError
20
+import Control.Monad
21
+#endif
22
+
23
waitGUI :: IO ()
24
waitGUI = do
25
resultVar <- newEmptyMVar
0 commit comments