[gtk: 1/2] g-i: Add transfer none annotations for frame clock timings getters
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] g-i: Add transfer none annotations for frame clock timings getters
- Date: Wed, 16 Jan 2019 23:43:35 +0000 (UTC)
commit 16867d8abf824d1050549aece530ce2ba7e0f229
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date: Wed Jan 16 00:00:00 2019 +0000
g-i: Add transfer none annotations for frame clock timings getters
gdk/gdkframeclock.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gdk/gdkframeclock.c b/gdk/gdkframeclock.c
index e848a21d5a..a561503138 100644
--- a/gdk/gdkframeclock.c
+++ b/gdk/gdkframeclock.c
@@ -440,8 +440,8 @@ _gdk_frame_clock_begin_frame (GdkFrameClock *frame_clock)
* for the current frame or a recent frame. The #GdkFrameTimings
* object may not yet be complete: see gdk_frame_timings_get_complete().
*
- * Returns: (nullable): the #GdkFrameTimings object for the specified
- * frame, or %NULL if it is not available. See
+ * Returns: (nullable) (transfer none): the #GdkFrameTimings object for
+ * the specified frame, or %NULL if it is not available. See
* gdk_frame_clock_get_history_start().
*/
GdkFrameTimings *
@@ -472,10 +472,10 @@ gdk_frame_clock_get_timings (GdkFrameClock *frame_clock,
*
* Gets the frame timings for the current frame.
*
- * Returns: (nullable): the #GdkFrameTimings for the frame currently
- * being processed, or even no frame is being processed, for the
- * previous frame. Before any frames have been processed, returns
- * %NULL.
+ * Returns: (nullable) (transfer none): the #GdkFrameTimings for the
+ * frame currently being processed, or even no frame is being
+ * processed, for the previous frame. Before any frames have been
+ * processed, returns %NULL.
*/
GdkFrameTimings *
gdk_frame_clock_get_current_timings (GdkFrameClock *frame_clock)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]