[libgdamm] TransactionStatus: Add missing gmmproc CONVERSION.



commit 68aa3204b4cf1dd67928bb2ec1b83417b2b2b77c
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Oct 25 22:53:17 2017 +0200

    TransactionStatus: Add missing gmmproc CONVERSION.
    
    The conversion from gchar* is no longer available by default from
    gmmproc because there is no good default conversion.

 libgda/src/transactionstatus.hg |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgda/src/transactionstatus.hg b/libgda/src/transactionstatus.hg
index 31d90b7..0392b32 100644
--- a/libgda/src/transactionstatus.hg
+++ b/libgda/src/transactionstatus.hg
@@ -57,6 +57,8 @@ public:
   _WRAP_CREATE(const Glib::ustring& name)
 
   _MEMBER_GET(get_isolation_level, isolation_level, TransactionIsolation, GdaTransactionIsolation)
+
+#m4 _CONVERSION(`gchar*',`Glib::ustring',`Glib::convert_const_gchar_ptr_to_ustring($3)')
   _MEMBER_GET(get_name, name, Glib::ustring, gchar*)
 };
 


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