[gtksourceviewmm/gtksourceviewmm-4: 3/9] Completion: Remove get/set_draw_spaces().



commit 1a8947744f03d75db1f06470e1fda7156c821845
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Nov 14 12:01:31 2016 +0100

    Completion: Remove get/set_draw_spaces().
    
    Because it was removed from the C API.

 gtksourceview/src/view.hg | 37 -------------------------------------
 1 file changed, 37 deletions(-)
---
diff --git a/gtksourceview/src/view.hg b/gtksourceview/src/view.hg
index 15ade34..6d48ecf 100644
--- a/gtksourceview/src/view.hg
+++ b/gtksourceview/src/view.hg
@@ -54,25 +54,6 @@ _WRAP_ENUM(SmartHomeEndType, GtkSourceSmartHomeEndType, s#^SOURCE_##)
  * are pressed.
  */
 
-/** Determines what kind of whitespaces whould be drawn.
- */
-_WRAP_ENUM(DrawSpacesFlags, GtkSourceDrawSpacesFlags, s#^SOURCE_##)
-/** @var DrawSpacesFlags DRAW_SPACES_SPACE
- * Whether the space character should be drawn.
- */
-/** @var DrawSpacesFlags DRAW_SPACES_TAB
- * Whether the tab character should be drawn.
- */
-/** @var DrawSpacesFlags DRAW_SPACES_NEWLINE
- * Whether the line breaks should be drawn.
- */
-/** @var DrawSpacesFlags DRAW_SPACES_NBSP
- * Whether the non-breaking whitespaces should be drawn.
- */
-/** @var DrawSpacesFlags DRAW_SPACES_ALL
- * Whether all kind of whitespaces should be drawn.
- */
-
 _WRAP_ENUM(BackgroundPatternType, GtkSourceBackgroundPatternType, s#^SOURCE_##)
 /** @var BackgroundPatternType BACKGROUND_PATTERN_TYPE_NONE
  * no pattern
@@ -267,22 +248,6 @@ public:
    */
   _WRAP_METHOD(gint get_indent_width() const, gtk_source_view_get_indent_width)
 
-  /** Set if and how the spaces should be visualized.
-   *
-   * Specifying @a flags as 0 will disable display of spaces.
-   *
-   * @param flags DrawSpacesFlags specifing how white spaces should be
-   * displayed.
-   */
-  _WRAP_METHOD(void set_draw_spaces(DrawSpacesFlags flags = DRAW_SPACES_ALL), 
gtk_source_view_set_draw_spaces)
-
-  /** Returns the DrawSpacesFlags specifying if and how spaces should be
-   *  displayed.
-   *
-   * @return The DrawSpacesFlags, 0 if no spaces should be drawn.
-   */
-  _WRAP_METHOD(DrawSpacesFlags get_draw_spaces() const, gtk_source_view_get_draw_spaces)
-
 #m4 _CONVERSION(`const Gtk::TextIter&',`const GtkTextIter*',`($3).gobj()')
   /** Determines the visual column at @a iter taking into consideration the indent
    *  width of @a view.
@@ -427,8 +392,6 @@ public:
 
   _WRAP_PROPERTY("indent-on-tab", bool)
 
-  _WRAP_PROPERTY("draw-spaces", DrawSpacesFlags)
-
   _WRAP_PROPERTY("completion", Glib::RefPtr<Completion>)
 
   _WRAP_PROPERTY("background-pattern", BackgroundPatternType)


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