summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorKrzesimir Nowak <qdlacz@gmail.com>2012-02-15 15:03:19 +0100
committerKrzesimir Nowak <qdlacz@gmail.com>2012-02-15 15:03:19 +0100
commitdda347b2f77d57d694a8be9143e352fbee555884 (patch)
tree4fb585cda23f7c0a791cd00d9fedbfa6f819afe7 /gio
parent658733d60d55d35617c86346673aab9a22ca6fe7 (diff)
downloadglibmm-dda347b2f77d57d694a8be9143e352fbee555884.tar.gz
Fix reference counting of Gio::SocketConnection::get_socket().
* gio/src/socketconnection.hg: Added refreturn.
Diffstat (limited to 'gio')
-rw-r--r--gio/src/socketconnection.hg4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/socketconnection.hg b/gio/src/socketconnection.hg
index f6627fe5..e5c87d55 100644
--- a/gio/src/socketconnection.hg
+++ b/gio/src/socketconnection.hg
@@ -54,8 +54,8 @@ class SocketConnection : public Gio::IOStream
_CLASS_GOBJECT(SocketConnection, GSocketConnection, G_SOCKET_CONNECTION, Gio::IOStream, GIOStream)
public:
-_WRAP_METHOD(Glib::RefPtr<Socket> get_socket(), g_socket_connection_get_socket)
-_WRAP_METHOD(Glib::RefPtr<const Socket> get_socket() const, g_socket_connection_get_socket, constversion)
+_WRAP_METHOD(Glib::RefPtr<Socket> get_socket(), g_socket_connection_get_socket, refreturn)
+_WRAP_METHOD(Glib::RefPtr<const Socket> get_socket() const, g_socket_connection_get_socket, constversion, refreturn)
_WRAP_METHOD(Glib::RefPtr<SocketAddress> get_local_address(), g_socket_connection_get_local_address, errthrow)
_WRAP_METHOD(Glib::RefPtr<const SocketAddress> get_local_address() const, g_socket_connection_get_local_address, constversion, errthrow)
_WRAP_METHOD(Glib::RefPtr<SocketAddress> get_remote_address(), g_socket_connection_get_remote_address, errthrow)