diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-05-16 12:48:40 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-05-16 12:48:40 +0000 |
commit | 3377460fb8ef54e02b75e6acdb9c05532c408d54 (patch) | |
tree | 97eaa70fc4491aebbde08d5a3f66e3c21de1aa98 /gtk/gtkpicture.c | |
parent | e8c7d0e5ec994ed0ff503842ac13ef4fe43e1d76 (diff) | |
parent | 05a0aca5ab1ef68fb800971fc2b99b9774c39620 (diff) | |
download | gtk+-3377460fb8ef54e02b75e6acdb9c05532c408d54.tar.gz |
Merge branch 'matthiasc/for-main' into 'main'
gdk: Drop some unused private api
See merge request GNOME/gtk!5973
Diffstat (limited to 'gtk/gtkpicture.c')
-rw-r--r-- | gtk/gtkpicture.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkpicture.c b/gtk/gtkpicture.c index 72ee47b195..dadd2b4b6e 100644 --- a/gtk/gtkpicture.c +++ b/gtk/gtkpicture.c @@ -525,6 +525,9 @@ gtk_picture_new_for_paintable (GdkPaintable *paintable) * The pixbuf must not be modified after passing it to this function. * * Returns: a new `GtkPicture` + * + * Deprecated: 4.12: Use [ctor@Gtk.Picture.new_for_paintable] and + * [ctor@Gdk.Texture.new_for_pixbuf] instead */ GtkWidget* gtk_picture_new_for_pixbuf (GdkPixbuf *pixbuf) @@ -779,6 +782,8 @@ gtk_picture_set_resource (GtkPicture *self, * See [ctor@Gtk.Picture.new_for_pixbuf] for details. * * This is a utility function that calls [method@Gtk.Picture.set_paintable]. + * + * Deprecated: 4.12: Use [method@Gtk.Picture.set_paintable] instead */ void gtk_picture_set_pixbuf (GtkPicture *self, |