diff options
| author | Michael McClurg <michael.mcclurg@outlook.com> | 2022-01-27 15:46:47 +0100 |
|---|---|---|
| committer | Milan Crha <mcrha@redhat.com> | 2022-01-27 15:46:47 +0100 |
| commit | 617739e67b095dc7ca4623adf6f1f592ee528d55 (patch) | |
| tree | 693fa975133e58a61b60ba8db15d8a9ddf835179 /src/libedataserverui | |
| parent | 5e23edcd8b8b39bee6b9338d9c60037f87e50abd (diff) | |
| download | evolution-data-server-617739e67b095dc7ca4623adf6f1f592ee528d55.tar.gz | |
M!79 - Add nullable annotations into developer documentation
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/79
Diffstat (limited to 'src/libedataserverui')
| -rw-r--r-- | src/libedataserverui/e-credentials-prompter.c | 14 | ||||
| -rw-r--r-- | src/libedataserverui/e-webdav-discover-widget.c | 8 |
2 files changed, 12 insertions, 10 deletions
diff --git a/src/libedataserverui/e-credentials-prompter.c b/src/libedataserverui/e-credentials-prompter.c index 3532eedf8..1a82ab13d 100644 --- a/src/libedataserverui/e-credentials-prompter.c +++ b/src/libedataserverui/e-credentials-prompter.c @@ -1145,8 +1145,8 @@ e_credentials_prompter_class_init (ECredentialsPrompterClass *class) * window for it. If the result of the call is %NULL, then it tries * to get the window from the default GtkApplication. * - * Returns: (transfer none): a #GtkWindow, to be used as a dialog parent, - * or %NULL. + * Returns: (transfer none) (nullable): a #GtkWindow, to be used as a + * dialog parent, or %NULL. * * Since: 3.16 **/ @@ -1167,8 +1167,8 @@ e_credentials_prompter_class_init (ECredentialsPrompterClass *class) * window for it. If the result of the call is %NULL, then it tries * to get the window from the default GtkApplication. * - * Returns: (transfer none): a #GtkWindow, to be used as a dialog parent, - * or %NULL. + * Returns: (transfer none) (nullable): a #GtkWindow, to be used as a + * dialog parent, or %NULL. * * Since: 3.42 **/ @@ -1401,7 +1401,8 @@ credentials_prompter_guess_dialog_parent (ECredentialsPrompter *prompter) * registered or the current callbacks don't have any suitable window, then there's * chosen the last active window from the default GApplication, if any available. * - * Returns: (transfer none): a #GtkWindow, to be used as a dialog parent, or %NULL. + * Returns: (transfer none) (nullable): a #GtkWindow, to be used as a dialog parent, + * or %NULL. * * Since: 3.16 **/ @@ -1433,7 +1434,8 @@ e_credentials_prompter_get_dialog_parent (ECredentialsPrompter *prompter) * window, then there's chosen the last active window from the default GApplication, * if any available. * - * Returns: (transfer none): a #GtkWindow, to be used as a dialog parent, or %NULL. + * Returns: (transfer none) (nullable): a #GtkWindow, to be used as a dialog parent, + * or %NULL. * * Since: 3.42 **/ diff --git a/src/libedataserverui/e-webdav-discover-widget.c b/src/libedataserverui/e-webdav-discover-widget.c index 812a2f513..c1679630a 100644 --- a/src/libedataserverui/e-webdav-discover-widget.c +++ b/src/libedataserverui/e-webdav-discover-widget.c @@ -435,10 +435,10 @@ e_webdav_discover_content_get_selected (GtkWidget *content, * Get currently selected user address in the @content, if the server returned any. * This value has meaning only with calendar sources. * - * Returns: (transfer full): currently selected user address. The returned string - * is newly allocated and should be freed with g_free() when no longer needed. - * If there are none addresses provided by the server, or no calendar sources - * were found, then %NULL is returned instead. + * Returns: (transfer full) (nullable): currently selected user address. The + * returned string is newly allocated and should be freed with g_free() when + * no longer needed. If there are none addresses provided by the server, or + * no calendar sources were found, then %NULL is returned instead. * * Since: 3.18 **/ |
