From 2977bde9f17853c3f44ec553b67ae492f96948bb Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 18 Dec 2012 11:58:22 +0000 Subject: - Make dumpcap build with the new bundle. - Use the correct bundle id for GTK3 svn path=/trunk/; revision=46586 --- dumpcap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dumpcap.c') diff --git a/dumpcap.c b/dumpcap.c index e88e0598f4..f177164cd4 100644 --- a/dumpcap.c +++ b/dumpcap.c @@ -2128,7 +2128,11 @@ cap_pipe_open_live(char *pipename, } #ifdef _WIN32 else { +#if GLIB_CHECK_VERSION(2,31,0) + g_thread_new("cap_pipe_open_live", &cap_thread_read, pcap_opts); +#else g_thread_create(&cap_thread_read, pcap_opts, FALSE, NULL); +#endif pcap_opts->cap_pipe_buf = (char *) &magic; pcap_opts->cap_pipe_bytes_read = 0; -- cgit v1.2.3