aboutsummaryrefslogtreecommitdiff
path: root/libsylph/socket.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-09-25 09:42:39 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-09-25 09:42:39 +0000
commit1ff05553158408570a7cd548fdcdf4ec7be07f5d (patch)
tree3667621c49e8ba4006ad3fd6e668292b3ffb83cb /libsylph/socket.h
parentcd87d5c742ab84c90e4338d46a23f17f9dbf9d2b (diff)
fixed the handling of GDK thread lock.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2258 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/socket.h')
-rw-r--r--libsylph/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/socket.h b/libsylph/socket.h
index 0ddf0374..37d1e397 100644
--- a/libsylph/socket.h
+++ b/libsylph/socket.h
@@ -103,7 +103,7 @@ SockInfo *sock_connect (const gchar *hostname, gushort port);
gint sock_connect_async (const gchar *hostname, gushort port,
SockConnectFunc func, gpointer data);
gint sock_connect_async_cancel (gint id);
-#else
+#elif USE_THREADS
gint sock_connect_async (const gchar *hostname, gushort port);
gint sock_connect_async_wait (gint id, SockInfo **sock);
#endif