diff options
author | monsta <[email protected]> | 2016-12-01 16:05:41 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-12-01 16:05:41 +0300 |
commit | b9a3360ee86441189c8091836dae6d1e97544db8 (patch) | |
tree | 3e1cbe885e5c138dfc96265c8c6d6b0215d05862 /pluma/pluma-document.c | |
parent | a4dcd9177a32626929783b3920d660782d89bf01 (diff) | |
download | pluma-b9a3360ee86441189c8091836dae6d1e97544db8.tar.bz2 pluma-b9a3360ee86441189c8091836dae6d1e97544db8.tar.xz |
fix some introspection warnings
Diffstat (limited to 'pluma/pluma-document.c')
-rw-r--r-- | pluma/pluma-document.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/pluma/pluma-document.c b/pluma/pluma-document.c index 85890566..b2745422 100644 --- a/pluma/pluma-document.c +++ b/pluma/pluma-document.c @@ -1039,6 +1039,13 @@ set_uri (PlumaDocument *doc, } } + +/** + * pluma_document_get_location: + * @doc: a #PlumaDocument + * + * Returns: (allow-none) (transfer full): a new #GFile + */ GFile * pluma_document_get_location (PlumaDocument *doc) { @@ -1777,7 +1784,7 @@ compute_num_of_lines (const gchar *text) } /** - * pluma_document_set_search_text" + * pluma_document_set_search_text: * @doc: * @text: (allow-none): * @flags: @@ -1876,7 +1883,7 @@ pluma_document_get_can_search_again (PlumaDocument *doc) * @start: (allow-none): * @end: (allow-none): * @match_start: (allow-none): - * @match_end: (allow=none): + * @match_end: (allow-none): **/ gboolean pluma_document_search_forward (PlumaDocument *doc, @@ -1953,7 +1960,7 @@ pluma_document_search_forward (PlumaDocument *doc, * @start: (allow-none): * @end: (allow-none): * @match_start: (allow-none): - * @match_end: (allow=none): + * @match_end: (allow-none): **/ gboolean pluma_document_search_backward (PlumaDocument *doc, @@ -2156,6 +2163,12 @@ pluma_document_set_language (PlumaDocument *doc, set_language (doc, lang, TRUE); } +/** + * pluma_document_get_language: + * @doc: + * + * Return value: (transfer none): + */ GtkSourceLanguage * pluma_document_get_language (PlumaDocument *doc) { |