summaryrefslogtreecommitdiff
path: root/gdk/gdktexture.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/gdktexture.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/gdktexture.h')
-rw-r--r--gdk/gdktexture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdktexture.h b/gdk/gdktexture.h
index 531ae3bbde..8ce4bae5b2 100644
--- a/gdk/gdktexture.h
+++ b/gdk/gdktexture.h
@@ -34,8 +34,6 @@ G_BEGIN_DECLS
#define GDK_TEXTURE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_TEXTURE, GdkTexture))
#define GDK_IS_TEXTURE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_TEXTURE))
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkTexture, g_object_unref)
-
typedef struct _GdkTextureClass GdkTextureClass;
#define GDK_TEXTURE_ERROR (gdk_texture_error_quark ())
@@ -100,6 +98,8 @@ gboolean gdk_texture_save_to_tiff (GdkTexture
GDK_AVAILABLE_IN_4_6
GBytes * gdk_texture_save_to_tiff_bytes (GdkTexture *texture);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkTexture, g_object_unref)
+
G_END_DECLS
#endif /* __GDK_TEXTURE_H__ */