[gtksourceviewmm] Change SourceCompletionProposal to CompletionProposal.



commit dd66ffb1c8aef489b41abbeaa86c4ed0b6db579a
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Sun Mar 27 15:42:05 2011 +0200

    Change SourceCompletionProposal to CompletionProposal.
    
    * gtksourceview/src/sourcecompletionproposal.[hg|ccg]: Ran source_truncate.pl
    on these and renamed them to...
    * gtksourceview/src/completionproposal.[hg|ccg]: ...these

 ...mpletionproposal.ccg => completionproposal.ccg} |    4 ++--
 ...completionproposal.hg => completionproposal.hg} |   18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gtksourceview/src/sourcecompletionproposal.ccg b/gtksourceview/src/completionproposal.ccg
similarity index 90%
rename from gtksourceview/src/sourcecompletionproposal.ccg
rename to gtksourceview/src/completionproposal.ccg
index 449840c..0c8c6fd 100644
--- a/gtksourceview/src/sourcecompletionproposal.ccg
+++ b/gtksourceview/src/completionproposal.ccg
@@ -1,6 +1,6 @@
-/* sourcecompletionproposal.cc
+/* completionproposal.cc
  *
- * Copyright (C) 2009, 2010 Krzesimir Nowak
+ * Copyright (C) 2009, 2010, 2011 Krzesimir Nowak
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
diff --git a/gtksourceview/src/sourcecompletionproposal.hg b/gtksourceview/src/completionproposal.hg
similarity index 88%
rename from gtksourceview/src/sourcecompletionproposal.hg
rename to gtksourceview/src/completionproposal.hg
index 07b7ed0..62a8a57 100644
--- a/gtksourceview/src/sourcecompletionproposal.hg
+++ b/gtksourceview/src/completionproposal.hg
@@ -1,6 +1,6 @@
-/* sourcecompletionproposal.h
+/* completionproposal.h
  *
- * Copyright (C) 2009, 2010 Krzesimir Nowak
+ * Copyright (C) 2009, 2010, 2011 Krzesimir Nowak
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -36,9 +36,9 @@ namespace Gsv
  *
  * @newin{2,10}
  */
-class SourceCompletionProposal : public Glib::Interface
+class CompletionProposal : public Glib::Interface
 {
-  _CLASS_INTERFACE(SourceCompletionProposal, GtkSourceCompletionProposal, GTK_SOURCE_COMPLETION_PROPOSAL, GtkSourceCompletionProposalIface)
+  _CLASS_INTERFACE(CompletionProposal, GtkSourceCompletionProposal, GTK_SOURCE_COMPLETION_PROPOSAL, GtkSourceCompletionProposalIface)
 
 public:
   /** Gets the label of a proposal.
@@ -127,12 +127,12 @@ public:
    * This is used to (together with hash()) to match proposals in the
    * completion model. By default, it uses direct equality.
    *
-   * @param other A SourceCompletionProposal.
+   * @param other A CompletionProposal.
    * @return @c true if a proposal and @a other are the same proposal.
    *
    * @newin{2,10}
    */
-  _WRAP_METHOD(bool equal(const Glib::RefPtr<const SourceCompletionProposal>& other) const, gtk_source_completion_proposal_equal)
+  _WRAP_METHOD(bool equal(const Glib::RefPtr<const CompletionProposal>& other) const, gtk_source_completion_proposal_equal)
 
   /** Emitted when the proposal has changed.
    *
@@ -156,9 +156,9 @@ private:
 
   _WRAP_VFUNC(guint hash() const, hash)
 
-#m4 _CONVERSION(`GtkSourceCompletionProposal*', `const Glib::RefPtr<const SourceCompletionProposal>&', `Glib::wrap($3, true)')
-  _WRAP_VFUNC(bool equal(const Glib::RefPtr<const SourceCompletionProposal>& other) const, equal)
-#m4 _CONVERSION(`GtkSourceCompletionProposal*', `const Glib::RefPtr<const SourceCompletionProposal>&', `Glib::wrap($3)')
+#m4 _CONVERSION(`GtkSourceCompletionProposal*', `const Glib::RefPtr<const CompletionProposal>&', `Glib::wrap($3, true)')
+  _WRAP_VFUNC(bool equal(const Glib::RefPtr<const CompletionProposal>& other) const, equal)
+#m4 _CONVERSION(`GtkSourceCompletionProposal*', `const Glib::RefPtr<const CompletionProposal>&', `Glib::wrap($3)')
 };
 
 } // namespace Gsv



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