[gtksourceview] Migrate remaining (allow-none) annotations
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Migrate remaining (allow-none) annotations
- Date: Mon, 13 Jun 2016 17:29:47 +0000 (UTC)
commit aa3b63fd2f7bd2bef0d52d4e3f7ffc5adb2fc4d6
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Jun 13 10:59:48 2016 +0200
Migrate remaining (allow-none) annotations
gtksourceview/gtksourcefilesaver.c | 2 +-
gtksourceview/gtksourcelanguagemanager.c | 6 +++---
gtksourceview/gtksourcemark.c | 2 +-
gtksourceview/gtksourcestylescheme.c | 2 +-
gtksourceview/gtksourcestyleschememanager.c | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtksourceview/gtksourcefilesaver.c b/gtksourceview/gtksourcefilesaver.c
index 021c9bb..b342d0b 100644
--- a/gtksourceview/gtksourcefilesaver.c
+++ b/gtksourceview/gtksourcefilesaver.c
@@ -1194,7 +1194,7 @@ gtk_source_file_saver_get_location (GtkSourceFileSaver *saver)
/**
* gtk_source_file_saver_set_encoding:
* @saver: a #GtkSourceFileSaver.
- * @encoding: (allow-none): the new encoding, or %NULL for UTF-8.
+ * @encoding: (nullable): the new encoding, or %NULL for UTF-8.
*
* Sets the encoding. If @encoding is %NULL, the UTF-8 encoding will be set.
* By default the encoding is taken from the #GtkSourceFile.
diff --git a/gtksourceview/gtksourcelanguagemanager.c b/gtksourceview/gtksourcelanguagemanager.c
index e5abb82..6a4e8ef 100644
--- a/gtksourceview/gtksourcelanguagemanager.c
+++ b/gtksourceview/gtksourcelanguagemanager.c
@@ -220,7 +220,7 @@ notify_search_path (GtkSourceLanguageManager *mgr)
/**
* gtk_source_language_manager_set_search_path:
* @lm: a #GtkSourceLanguageManager.
- * @dirs: (allow-none) (array zero-terminated=1):
+ * @dirs: (nullable) (array zero-terminated=1):
* a %NULL-terminated array of strings or %NULL.
*
* Sets the list of directories where the @lm looks for
@@ -591,8 +591,8 @@ pick_lang_for_mime_type (GtkSourceLanguageManager *lm,
/**
* gtk_source_language_manager_guess_language:
* @lm: a #GtkSourceLanguageManager.
- * @filename: (allow-none): a filename in Glib filename encoding, or %NULL.
- * @content_type: (allow-none): a content type (as in GIO API), or %NULL.
+ * @filename: (nullable): a filename in Glib filename encoding, or %NULL.
+ * @content_type: (nullable): a content type (as in GIO API), or %NULL.
*
* Picks a #GtkSourceLanguage for given file name and content type,
* according to the information in lang files. Either @filename or
diff --git a/gtksourceview/gtksourcemark.c b/gtksourceview/gtksourcemark.c
index f01f52a..da0414e 100644
--- a/gtksourceview/gtksourcemark.c
+++ b/gtksourceview/gtksourcemark.c
@@ -205,7 +205,7 @@ gtk_source_mark_get_category (GtkSourceMark *mark)
/**
* gtk_source_mark_next:
* @mark: a #GtkSourceMark.
- * @category: (allow-none): a string specifying the mark category, or %NULL.
+ * @category: (nullable): a string specifying the mark category, or %NULL.
*
* Returns the next #GtkSourceMark in the buffer or %NULL if the mark
* was not added to a buffer. If there is no next mark, %NULL will be returned.
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index ffcb8a8..e680065 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -818,7 +818,7 @@ _gtk_source_style_scheme_apply (GtkSourceStyleScheme *scheme,
/**
* _gtk_source_style_scheme_unapply:
- * @scheme: (allow-none): a #GtkSourceStyleScheme or %NULL.
+ * @scheme: (nullable): a #GtkSourceStyleScheme or %NULL.
* @view: a #GtkSourceView to unapply styles to.
*
* Removes the styles from @scheme in the @view.
diff --git a/gtksourceview/gtksourcestyleschememanager.c b/gtksourceview/gtksourcestyleschememanager.c
index c80278b..161536e 100644
--- a/gtksourceview/gtksourcestyleschememanager.c
+++ b/gtksourceview/gtksourcestyleschememanager.c
@@ -401,7 +401,7 @@ notify_search_path (GtkSourceStyleSchemeManager *mgr)
/**
* gtk_source_style_scheme_manager_set_search_path:
* @manager: a #GtkSourceStyleSchemeManager.
- * @path: (array zero-terminated=1) (allow-none):
+ * @path: (array zero-terminated=1) (nullable):
* a %NULL-terminated array of strings or %NULL.
*
* Sets the list of directories where the @manager looks for
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]