[gnome-builder] indenter: use nullable for self instances that are allowed
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] indenter: use nullable for self instances that are allowed
- Date: Sun, 3 Sep 2017 18:35:59 +0000 (UTC)
commit 5373d8a5077ee2b448113308ab65f3323040afa8
Author: Christian Hergert <chergert redhat com>
Date: Sun Sep 3 11:34:45 2017 -0700
indenter: use nullable for self instances that are allowed
This previously was breaking the vala-pack plugin via GObject Introspection
binding generation. But I can't seem to replicate that problem anymore, so
let's use everyone in the interwebs to tell me if I'm crazy.
libide/sourceview/ide-indenter.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libide/sourceview/ide-indenter.c b/libide/sourceview/ide-indenter.c
index 9a81305..8d5d85f 100644
--- a/libide/sourceview/ide-indenter.c
+++ b/libide/sourceview/ide-indenter.c
@@ -98,6 +98,7 @@ ide_indenter_mimic_source_view (GtkTextView *text_view,
/**
* ide_indenter_format:
+ * @self: (nullable): An #IdeIndenter or %NULL for the fallback
* @text_view: A #GtkTextView
* @begin: A #GtkTextIter for the beginning region of text to replace.
* @end: A #GtkTextIter for the end region of text to replace.
@@ -142,7 +143,7 @@ ide_indenter_format (IdeIndenter *self,
/**
* ide_indenter_is_trigger:
- * @self: an #IdeIndenter
+ * @self: (nullable): an #IdeIndenter or %NULL for the fallback
* @event: a #GdkEventKey
*
* Determines if @event should trigger an indentation request. If %TRUE is
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]