[gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_style_context_get_frame_clock gtk_style_context_get_parent gtk_style
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_style_context_get_frame_clock gtk_style_context_get_parent gtk_style
- Date: Sun, 13 Dec 2015 04:30:03 +0000 (UTC)
commit 5790ce18babdf4749975ee4e7b2046a31065b0f3
Author: Alberto Ruiz <aruiz gnome org>
Date: Sun Dec 13 03:32:11 2015 +0000
nullable annotations:
gtk_style_context_get_frame_clock
gtk_style_context_get_parent
gtk_style_context_get_section
gtk/gtkstylecontext.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 6c7f1e4..41d1003 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -765,7 +765,8 @@ gtk_style_context_remove_provider_for_screen (GdkScreen *screen,
* Shorthand CSS properties cannot be queried for a location and will
* always return %NULL.
*
- * Returns: %NULL or the section where value was defined
+ * Returns: (nullable) (transfer none): %NULL or the section where a value
+ * for @property was defined
**/
GtkCssSection *
gtk_style_context_get_section (GtkStyleContext *context,
@@ -1187,7 +1188,7 @@ gtk_style_context_set_parent (GtkStyleContext *context,
* Gets the parent context set via gtk_style_context_set_parent().
* See that function for details.
*
- * Returns: (transfer none): the parent context or %NULL
+ * Returns: (nullable) (transfer none): the parent context or %NULL
*
* Since: 3.4
**/
@@ -2040,7 +2041,7 @@ gtk_style_context_set_frame_clock (GtkStyleContext *context,
*
* Returns the #GdkFrameClock to which @context is attached.
*
- * Returns: (transfer none): a #GdkFrameClock, or %NULL
+ * Returns: (nullable) (transfer none): a #GdkFrameClock, or %NULL
* if @context does not have an attached frame clock.
*
* Since: 3.8
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]