diff options
author | Benjamin Otte <otte@redhat.com> | 2023-04-24 22:44:01 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2023-04-27 06:40:47 +0200 |
commit | 18a4b2475e6f5bb1d92e17d5b7086837d712605f (patch) | |
tree | 31cc4b2dcc94c464ab9825cb7f4baaafeaea2182 /gdk | |
parent | 76e5fd0ece868d8104bb978fb807ab6ff318fd78 (diff) | |
download | gtk+-18a4b2475e6f5bb1d92e17d5b7086837d712605f.tar.gz |
gltexture: Deprecate gdk_gl_texture_new()
Use GdkGLTextureBuilder instead.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkgltexture.c | 3 | ||||
-rw-r--r-- | gdk/gdkgltexture.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdk/gdkgltexture.c b/gdk/gdkgltexture.c index 892dce002f..e7818e9a07 100644 --- a/gdk/gdkgltexture.c +++ b/gdk/gdkgltexture.c @@ -485,6 +485,9 @@ gdk_gl_texture_determine_format (GdkGLTexture *self) * * Return value: (transfer full) (type GdkGLTexture): A newly-created * `GdkTexture` + * + * Deprecated: 4.12: [class@Gdk.GLTextureBuilder] supercedes this function + * and provides extended functionality for creating GL textures. */ GdkTexture * gdk_gl_texture_new (GdkGLContext *context, diff --git a/gdk/gdkgltexture.h b/gdk/gdkgltexture.h index 55e379d8c4..6f1cebdf47 100644 --- a/gdk/gdkgltexture.h +++ b/gdk/gdkgltexture.h @@ -38,7 +38,7 @@ typedef struct _GdkGLTextureClass GdkGLTextureClass; GDK_AVAILABLE_IN_ALL GType gdk_gl_texture_get_type (void) G_GNUC_CONST; -GDK_AVAILABLE_IN_ALL +GDK_DEPRECATED_IN_4_12_FOR(GdkGLTextureBuilder) GdkTexture * gdk_gl_texture_new (GdkGLContext *context, guint id, int width, |