[gtksourceviewmm] Buffer: set_*(): Add default true value.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] Buffer: set_*(): Add default true value.
- Date: Wed, 3 Aug 2016 10:26:09 +0000 (UTC)
commit ad9914d6d03d2df12aba2d29d25d3aad984da8f5
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Aug 3 11:50:06 2016 +0200
Buffer: set_*(): Add default true value.
gtksourceview/src/buffer.hg | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/src/buffer.hg b/gtksourceview/src/buffer.hg
index 3db0715..d5dc126 100644
--- a/gtksourceview/src/buffer.hg
+++ b/gtksourceview/src/buffer.hg
@@ -106,7 +106,7 @@ public:
_WRAP_METHOD(bool get_highlight_matching_brackets() const,
gtk_source_buffer_get_highlight_matching_brackets)
- _WRAP_METHOD(void set_highlight_matching_brackets(bool highlight=true),
gtk_source_buffer_set_highlight_matching_brackets)
+ _WRAP_METHOD(void set_highlight_matching_brackets(bool highlight = true),
gtk_source_buffer_set_highlight_matching_brackets)
_WRAP_METHOD(bool get_highlight_syntax() const, gtk_source_buffer_get_highlight_syntax)
@@ -141,7 +141,7 @@ public:
*
* @param max_undo_levels The desired maximum number of undo levels.
*/
- _WRAP_METHOD(void set_max_undo_levels(int max_undo_levels), gtk_source_buffer_set_max_undo_levels)
+ _WRAP_METHOD(void set_max_undo_levels(int max_undo_levels = true), gtk_source_buffer_set_max_undo_levels)
/** Returns the Language associated with the buffer.
*
@@ -521,7 +521,7 @@ public:
*
* @newin{3,14}
*/
- _WRAP_METHOD(void set_implicit_trailing_newline(bool implicit_trailing_newline),
gtk_source_buffer_set_implicit_trailing_newline)
+ _WRAP_METHOD(void set_implicit_trailing_newline(bool implicit_trailing_newline = true),
gtk_source_buffer_set_implicit_trailing_newline)
/**
* @return whether the buffer has an implicit trailing newline.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]