diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-02-05 20:13:20 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-02-06 01:16:32 -0500 |
commit | 4c150d8eb518c35c484802e5cd7da572e4030f25 (patch) | |
tree | 8867f973fd6c9737b5d7f05d6945817f354a37e2 /gdk/gdktexture.h | |
parent | 2616e6857cc136c654b64dd16839ddf89f4b5c62 (diff) | |
download | gtk+-4c150d8eb518c35c484802e5cd7da572e4030f25.tar.gz |
The big versioning cleanup
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
Diffstat (limited to 'gdk/gdktexture.h')
-rw-r--r-- | gdk/gdktexture.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gdk/gdktexture.h b/gdk/gdktexture.h index c35820c7b5..ea04fc17cb 100644 --- a/gdk/gdktexture.h +++ b/gdk/gdktexture.h @@ -40,23 +40,23 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkTexture, g_object_unref) typedef struct _GdkTextureClass GdkTextureClass; -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL GType gdk_texture_get_type (void) G_GNUC_CONST; -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL GdkTexture * gdk_texture_new_for_data (const guchar *data, int width, int height, int stride); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL GdkTexture * gdk_texture_new_for_pixbuf (GdkPixbuf *pixbuf); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL GdkTexture * gdk_texture_new_from_resource (const char *resource_path); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL GdkTexture * gdk_texture_new_from_file (GFile *file, GError **error); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL GdkTexture * gdk_texture_new_for_gl (GdkGLContext *context, guint id, int width, @@ -64,15 +64,15 @@ GdkTexture * gdk_texture_new_for_gl (GdkGLContext GDestroyNotify destroy, gpointer data); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL void gdk_texture_release_gl (GdkTexture *texture); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL int gdk_texture_get_width (GdkTexture *texture); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL int gdk_texture_get_height (GdkTexture *texture); -GDK_AVAILABLE_IN_3_94 +GDK_AVAILABLE_IN_ALL void gdk_texture_download (GdkTexture *texture, guchar *data, gsize stride); |