[glibmm] Accidentally marked wrong SocketConnection as non-win32
- From: Jonathon Jongsma <jjongsma src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glibmm] Accidentally marked wrong SocketConnection as non-win32
- Date: Sun, 3 Jan 2010 04:58:43 +0000 (UTC)
commit 2b72d645e2f1c0482c497bba7496f47574eb0029
Author: Jonathon Jongsma <jonathon quotidian org>
Date: Sat Jan 2 22:11:56 2010 -0600
Accidentally marked wrong SocketConnection as non-win32
Correctly mark the UnixConnection as non-win32 instead of the TcpConnection
gio/src/tcpconnection.hg | 1 -
gio/src/unixconnection.hg | 2 ++
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/src/tcpconnection.hg b/gio/src/tcpconnection.hg
index d995dfe..44a5dcd 100644
--- a/gio/src/tcpconnection.hg
+++ b/gio/src/tcpconnection.hg
@@ -41,7 +41,6 @@ namespace Gio
class TcpConnection : public Gio::SocketConnection
{
_CLASS_GOBJECT(TcpConnection, GTcpConnection, G_TCP_CONNECTION, Gio::SocketConnection, GSocketConnection)
- _GTKMMPROC_WIN32_NO_WRAP
public:
_WRAP_METHOD(void set_graceful_disconnect (bool graceful_disconnect), g_tcp_connection_set_graceful_disconnect)
diff --git a/gio/src/unixconnection.hg b/gio/src/unixconnection.hg
index 3c6bdb3..667082f 100644
--- a/gio/src/unixconnection.hg
+++ b/gio/src/unixconnection.hg
@@ -44,6 +44,8 @@ namespace Gio
class UnixConnection : public Gio::SocketConnection
{
_CLASS_GOBJECT(UnixConnection, GUnixConnection, G_UNIX_CONNECTION, Gio::SocketConnection, GSocketConnection)
+ _GTKMMPROC_WIN32_NO_WRAP
+
public:
_WRAP_METHOD(bool send_fd(int fd, const Glib::RefPtr<Cancellable>& cancellable), g_unix_connection_send_fd, errthrow)
_WRAP_METHOD(int receive_fd(const Glib::RefPtr<Cancellable>& cancellable), g_unix_connection_receive_fd, errthrow)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]