Add proper annotation for gdk_frame_clock_get_refresh_info
authorSander Sweers <infirit@gmail.com>
Mon, 12 Mar 2018 13:29:09 +0000 (14:29 +0100)
committerSander Sweers <infirit@gmail.com>
Mon, 12 Mar 2018 15:07:39 +0000 (16:07 +0100)
See https://gitlab.gnome.org/GNOME/gtk/issues/77

gdk/gdkframeclock.c

index a1f20c40e94b6270789e5c146967339238b3883d..e848a21d5a3e18612ca36c8d0b5c148e31229a53 100644 (file)
@@ -537,10 +537,10 @@ _gdk_frame_clock_debug_print_timings (GdkFrameClock   *clock,
  * gdk_frame_clock_get_refresh_info:
  * @frame_clock: a #GdkFrameClock
  * @base_time: base time for determining a presentaton time
- * @refresh_interval_return: a location to store the determined refresh
- *  interval, or %NULL. A default refresh interval of 1/60th of
- *  a second will be stored if no history is present.
- * @presentation_time_return: a location to store the next
+ * @refresh_interval_return: (out) (optional): a location to store the
+ * determined refresh interval, or %NULL. A default refresh interval of
+ * 1/60th of a second will be stored if no history is present.
+ * @presentation_time_return: (out): a location to store the next
  *  candidate presentation time after the given base time.
  *  0 will be will be stored if no history is present.
  *