[gtksourceviewmm/gtksourceviewmm-4] Add m4 ustring conversions to fix the build.



commit f554d79cfcf72acf8ed88b95d9102992e0524f3c
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Jan 14 21:06:25 2018 +0100

    Add m4 ustring conversions to fix the build.
    
    Needed by recent gmmproc versions, because there is no good default.

 gtksourceview/src/completionproposal.hg | 1 +
 gtksourceview/src/completionprovider.hg | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/gtksourceview/src/completionproposal.hg b/gtksourceview/src/completionproposal.hg
index 0ff8879..9068c5f 100644
--- a/gtksourceview/src/completionproposal.hg
+++ b/gtksourceview/src/completionproposal.hg
@@ -144,6 +144,7 @@ public:
 
 private:
 
+#m4 _CONVERSION(`char*',`Glib::ustring',`Glib::convert_return_gchar_ptr_to_ustring($3)')
   _WRAP_VFUNC(Glib::ustring get_label() const, get_label)
 
   _WRAP_VFUNC(Glib::ustring get_markup() const, get_markup)
diff --git a/gtksourceview/src/completionprovider.hg b/gtksourceview/src/completionprovider.hg
index 9580752..912b48e 100644
--- a/gtksourceview/src/completionprovider.hg
+++ b/gtksourceview/src/completionprovider.hg
@@ -198,6 +198,7 @@ public:
 
 private:
 
+#m4 _CONVERSION(`char*',`Glib::ustring',`Glib::convert_return_gchar_ptr_to_ustring($3)')
   _WRAP_VFUNC(Glib::ustring get_name() const, get_name)
 
   _WRAP_VFUNC(Glib::RefPtr<Gdk::Pixbuf> get_icon(), get_icon, refreturn)


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