[glibmm] Fix reference counting of Gio::SocketConnection::get_socket().
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Fix reference counting of Gio::SocketConnection::get_socket().
- Date: Wed, 15 Feb 2012 14:05:30 +0000 (UTC)
commit dda347b2f77d57d694a8be9143e352fbee555884
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Wed Feb 15 15:03:19 2012 +0100
Fix reference counting of Gio::SocketConnection::get_socket().
* gio/src/socketconnection.hg: Added refreturn.
gio/src/socketconnection.hg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/src/socketconnection.hg b/gio/src/socketconnection.hg
index f6627fe..e5c87d5 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]