diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-09-23 19:08:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-09-23 19:49:58 -0400 |
commit | 61a51dea7b72844f872ce7f7e44b4fa6564446cc (patch) | |
tree | ee8e4db0eb5094e676a93e0ec72e19700273745f /gdk/gdkframetimings.h | |
parent | bccb4f87beb9108eb10c44ba5449c267eb7b80b1 (diff) | |
download | gtk+-61a51dea7b72844f872ce7f7e44b4fa6564446cc.tar.gz |
gdk: Dissolve gdk-autocleanup.h
Move the autocleanup declarations into their
respective headers.
While we are at it, correct the autocleanup
declaration for GdkEvent to use gdk_event_unref,
not g_object_unref. Oops
Diffstat (limited to 'gdk/gdkframetimings.h')
-rw-r--r-- | gdk/gdkframetimings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkframetimings.h b/gdk/gdkframetimings.h index 7ed36301b5..0bf7822ac2 100644 --- a/gdk/gdkframetimings.h +++ b/gdk/gdkframetimings.h @@ -51,6 +51,8 @@ gint64 gdk_frame_timings_get_refresh_interval (GdkFrameTimings *timin GDK_AVAILABLE_IN_ALL gint64 gdk_frame_timings_get_predicted_presentation_time (GdkFrameTimings *timings); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkFrameTimings, gdk_frame_timings_unref) + G_END_DECLS #endif /* __GDK_FRAME_TIMINGS_H__ */ |