[gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_choose
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_choose
- Date: Sun, 13 Dec 2015 04:29:17 +0000 (UTC)
commit 3a703be9263889ddfe15c59c20f44f9c18ec6919
Author: Alberto Ruiz <aruiz gnome org>
Date: Sat Dec 12 18:36:54 2015 +0000
nullable annotations:
gtk_font_chooser_get_font
gtk_font_chooser_get_font_desc
gtk_font_chooser_get_font_face
gtk_font_chooser_get_font_family
gtk/gtkfontchooser.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c
index e2ed3a0..b5fea10 100644
--- a/gtk/gtkfontchooser.c
+++ b/gtk/gtkfontchooser.c
@@ -135,7 +135,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
*
* If the selected font is not installed, returns %NULL.
*
- * Returns: (transfer none): A #PangoFontFamily representing the
+ * Returns: (transfer none) (nullable): A #PangoFontFamily representing the
* selected font family, or %NULL. The returned object is owned by @fontchooser
* and must not be modified or freed.
*
@@ -158,7 +158,7 @@ gtk_font_chooser_get_font_family (GtkFontChooser *fontchooser)
*
* If the selected font is not installed, returns %NULL.
*
- * Returns: (transfer none): A #PangoFontFace representing the
+ * Returns: (transfer none) (nullable): A #PangoFontFace representing the
* selected font group details, or %NULL. The returned object is owned by
* @fontchooser and must not be modified or freed.
*
@@ -206,7 +206,7 @@ gtk_font_chooser_get_font_size (GtkFontChooser *fontchooser)
* Use pango_font_description_equal() if you want to compare two
* font descriptions.
*
- * Returns: (transfer full) (allow-none): A string with the name
+ * Returns: (transfer full) (nullable): A string with the name
* of the current font, or %NULL if no font is selected. You must
* free this string with g_free().
*
@@ -259,7 +259,7 @@ gtk_font_chooser_set_font (GtkFontChooser *fontchooser,
* Use pango_font_description_equal() if you want to compare two
* font descriptions.
*
- * Returns: (transfer full) (allow-none): A #PangoFontDescription for the
+ * Returns: (transfer full) (nullable): A #PangoFontDescription for the
* current font, or %NULL if no font is selected.
*
* Since: 3.2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]