[glibmm] Gio::SocketAddress: Fix property_family()



commit bc0799144a3ba3b4ac4e9b71d4ad9360697b80bc
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Fri Jan 18 10:40:42 2019 +0100

    Gio::SocketAddress: Fix property_family()
    
    Gio::SocketFamily is an enum. It shall not be stored in a Glib::RefPtr.

 gio/src/socketaddress.hg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/src/socketaddress.hg b/gio/src/socketaddress.hg
index 713986b8..1be525e7 100644
--- a/gio/src/socketaddress.hg
+++ b/gio/src/socketaddress.hg
@@ -49,7 +49,7 @@ public:
   _WRAP_METHOD(bool to_native(gpointer dest, gsize destlen), g_socket_address_to_native, errthrow)
   _WRAP_METHOD(gssize get_native_size() const, g_socket_address_get_native_size)
 
-  _WRAP_PROPERTY("family", Glib::RefPtr<SocketFamily>)
+  _WRAP_PROPERTY("family", SocketFamily)
 };
 
 } // namespace Gio


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]