[gtksourceviewmm] completioncontext.hg: Comment out iter property to fix build



commit 590c93b5a1bc40ff9b56f78af596bb6536126e6a
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Sep 27 23:00:59 2019 +0200

    completioncontext.hg: Comment out iter property to fix build
    
    To avoid this build problem:
    
    completioncontext.cc:251:15: error: static assertion failed: Type Gtk::TextBuffer::iterator cannot be 
used in _WRAP_PROPERTY. There is no suitable template specialization of Glib::Value<>.
     static_assert(Glib::Traits::ValueCompatibleWithWrapProperty<Gtk::TextBuffer::iterator>::value,

 gtksourceview/src/completioncontext.hg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/src/completioncontext.hg b/gtksourceview/src/completioncontext.hg
index dc50181..31f903c 100644
--- a/gtksourceview/src/completioncontext.hg
+++ b/gtksourceview/src/completioncontext.hg
@@ -99,7 +99,7 @@ public:
 
   _WRAP_PROPERTY("activation", CompletionActivation)
   _WRAP_PROPERTY("completion", Glib::RefPtr<Completion>)
-  _WRAP_PROPERTY("iter", Gtk::TextBuffer::iterator)
+  // TODO? _WRAP_PROPERTY("iter", Gtk::TextBuffer::iterator)
 
   /** Emitted when the current population of proposals has been cancelled.
    *


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