[gtksourceviewmm] Completion: show(): Rename to start().



commit 37f7b7adc1c264d5d8f230d161a461e1a65351df
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Jan 14 21:10:50 2018 +0100

    Completion: show(): Rename to start().
    
    As in the C API:
    https://git.gnome.org/browse/gtksourceview/commit/?id=c37730e7fbccc958e9ef34f85c67f4f8aab94714

 gtksourceview/src/completion.hg |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/src/completion.hg b/gtksourceview/src/completion.hg
index 5ac9a9d..3f9ebc5 100644
--- a/gtksourceview/src/completion.hg
+++ b/gtksourceview/src/completion.hg
@@ -91,7 +91,7 @@ public:
    *
    * @newin{2,10}
    */
-  _WRAP_METHOD(bool show(const std::vector<Glib::RefPtr<CompletionProvider> >& providers, const 
Glib::RefPtr<CompletionContext>& context), gtk_source_completion_show)
+  _WRAP_METHOD(bool start(const std::vector<Glib::RefPtr<CompletionProvider> >& providers, const 
Glib::RefPtr<CompletionContext>& context), gtk_source_completion_start)
 
   /** Hides the completion if it is active (visible).
    *
@@ -135,7 +135,7 @@ public:
    */
   _WRAP_METHOD(const View* get_view() const, gtk_source_completion_get_view, constversion)
 
-  // TODO: Does "The reference being returned is a 'floating' reference, so if you invoke 
gtk_source_completion_show with this context you don't need to unref it." something mean for us? krnowak
+  // TODO: Does "The reference being returned is a 'floating' reference, so if you invoke 
gtk_source_completion_start with this context you don't need to unref it." something mean for us? krnowak
 #m4 _CONVERSION(`const 
Gtk::TextBuffer::const_iterator&',`GtkTextIter*',`const_cast<GtkTextIter*>(($3).gobj())')
 
   /** Create a new CompletionContext for completion.


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