]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkframeclock.h
gdk: prevent NULL pointer access when debugging is enabled
[~andy/gtk] / gdk / gdkframeclock.h
index a82d5cf59429366960589fd01929b101dce486ef..ea5fdb4bbbb7a72c9ee84c9f26015fdf6423a504 100644 (file)
@@ -58,7 +58,7 @@ typedef struct _GdkFrameClockClass         GdkFrameClockClass;
  * @GDK_FRAME_CLOCK_PHASE_AFTER_PAINT: corresponds to GdkFrameClock::after-paint. Should not be handled by applications.
  *
  * #GdkFrameClockPhase is used to represent the different paint clock
- * phases that can be requested. The element of the enumeration
+ * phases that can be requested. The elements of the enumeration
  * correspond to the signals of #GdkPaintClock.
  *
  * Since: 3.8
@@ -76,6 +76,7 @@ typedef enum {
 
 GType    gdk_frame_clock_get_type             (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_8
 gint64   gdk_frame_clock_get_frame_time            (GdkFrameClock *frame_clock);
 
 GDK_AVAILABLE_IN_3_8