summaryrefslogtreecommitdiff
path: root/gio/src
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2010-01-02 12:07:32 -0600
committerJonathon Jongsma <jonathon@quotidian.org>2010-01-02 12:42:04 -0600
commit461f5e48794541480e1c4661ac3d84ea04bf1968 (patch)
tree340081dd083a091cddfb852343023c4ad87cecbc /gio/src
parentb01e56c2d8bfc39f006f26aefb529e31abd7541f (diff)
downloadglibmm-461f5e48794541480e1c4661ac3d84ea04bf1968.tar.gz
Take an extra ref from the return of g_inet_socket_address_get_address
This was causing a bunch of warnings in the examples
Diffstat (limited to 'gio/src')
-rw-r--r--gio/src/inetsocketaddress.hg4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/inetsocketaddress.hg b/gio/src/inetsocketaddress.hg
index f0b093c5..de3a871c 100644
--- a/gio/src/inetsocketaddress.hg
+++ b/gio/src/inetsocketaddress.hg
@@ -48,8 +48,8 @@ protected:
public:
_WRAP_CREATE(const Glib::RefPtr<InetAddress>& address, guint16 port)
- _WRAP_METHOD(Glib::RefPtr<InetAddress> get_address(), g_inet_socket_address_get_address)
- _WRAP_METHOD(Glib::RefPtr<const InetAddress> get_address() const, g_inet_socket_address_get_address, constversion)
+ _WRAP_METHOD(Glib::RefPtr<InetAddress> get_address(), g_inet_socket_address_get_address, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<const InetAddress> get_address() const, g_inet_socket_address_get_address, refreturn, constversion)
_WRAP_METHOD(guint16 get_port() const, g_inet_socket_address_get_port)