summaryrefslogtreecommitdiff
path: root/gdk/gdkapplaunchcontext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-09-23 19:08:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-09-23 19:49:58 -0400
commit61a51dea7b72844f872ce7f7e44b4fa6564446cc (patch)
treeee8e4db0eb5094e676a93e0ec72e19700273745f /gdk/gdkapplaunchcontext.h
parentbccb4f87beb9108eb10c44ba5449c267eb7b80b1 (diff)
downloadgtk+-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/gdkapplaunchcontext.h')
-rw-r--r--gdk/gdkapplaunchcontext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h
index 23178483a0..b8e15a752e 100644
--- a/gdk/gdkapplaunchcontext.h
+++ b/gdk/gdkapplaunchcontext.h
@@ -54,6 +54,7 @@ GDK_AVAILABLE_IN_ALL
void gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context,
const char *icon_name);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkAppLaunchContext, g_object_unref)
G_END_DECLS