diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2010-01-02 12:07:32 -0600 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2010-01-02 12:42:04 -0600 |
commit | 461f5e48794541480e1c4661ac3d84ea04bf1968 (patch) | |
tree | 340081dd083a091cddfb852343023c4ad87cecbc /gio/src | |
parent | b01e56c2d8bfc39f006f26aefb529e31abd7541f (diff) | |
download | glibmm-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.hg | 4 |
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) |