summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-18 20:16:35 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-18 20:16:35 +0200
commitcb2f9f3e7bb3124a95a723f1a7678c28e2bb0644 (patch)
tree9093733dc218025823cc93fa51d1e4d48df67509 /src/common
parentb63a4ced195f720c832c3c0c05035fdfd065638c (diff)
Use GTK+ file dialogs on Windows too, the Win32 dialogs are too buggy
Diffstat (limited to 'src/common')
-rw-r--r--src/common/thread.c2
-rw-r--r--src/common/thread.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/thread.c b/src/common/thread.c
index 02b17cfb..ba808737 100644
--- a/src/common/thread.c
+++ b/src/common/thread.c
@@ -1,3 +1,4 @@
+#if 0	/* native file dialogs */
 #include <fcntl.h>
 #include "thread.h"
 
@@ -31,3 +32,4 @@ thread_start (thread *th, void *(*start_routine)(void *), void *arg)
 
 	return 1;
 }
+#endif
diff --git a/src/common/thread.h b/src/common/thread.h
index 7ca0f937..97a4ed30 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -1,3 +1,4 @@
+#if 0	/* native file dialogs */
 #include <windows.h>
 
 typedef struct
@@ -8,3 +9,4 @@ typedef struct
 
 thread *thread_new (void);
 int thread_start (thread *th, void *(*start_routine)(void *), void *arg);
+#endif