After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670372 - Annotate var-arg gdk_pixbuf_save*() as aliases for save*v()
Annotate var-arg gdk_pixbuf_save*() as aliases for save*v()
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
API
Depends on:
Blocks:
 
 
Reported: 2012-02-18 21:12 UTC by Torsten Schoenfeld
Modified: 2018-05-22 13:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Annotate var-arg gdk_pixbuf_save*() as aliases for save*v() (1.18 KB, patch)
2012-02-18 21:12 UTC, Torsten Schoenfeld
none Details | Review
lib: Annotate var-arg gdk_pixbuf_save*() (1.55 KB, patch)
2014-10-21 18:29 UTC, Bastien Nocera
committed Details | Review

Description Torsten Schoenfeld 2012-02-18 21:12:00 UTC
Created attachment 207956 [details] [review]
Annotate var-arg gdk_pixbuf_save*() as aliases for save*v()

This patch the various vector variants so that they shadow the var-arg variants.
Comment 1 Torsten Schoenfeld 2012-06-23 16:42:44 UTC
Ping.
Comment 2 Bastien Nocera 2014-10-21 18:29:28 UTC
Created attachment 289066 [details] [review]
lib: Annotate var-arg gdk_pixbuf_save*()

Annotate var-args gdk_pixbuf_save*() functions as aliases for save*v()
so that the functions shadow the var-arg variants.
Comment 3 Bastien Nocera 2014-10-21 18:30:02 UTC
Attachment 289066 [details] pushed as 112eab4 - lib: Annotate var-arg gdk_pixbuf_save*()
Comment 4 Christoph Reiter (lazka) 2014-12-05 13:37:10 UTC
Fyi, this removed GdkPixbuf.Pixbuf.savev in Python breaks API.
Comment 5 Colin Walters 2015-01-26 14:40:32 UTC
Yes, the old savev API was accessible via introspection, so this is an IABI break.
Comment 6 Colin Walters 2015-01-26 15:18:54 UTC
The cleanest might be to add (rename-to-and-keep) to introspection.  I thought we did that by default actually, in the .gir it still exists, just sets shadows=.

Did this change make it into a stable gdk-pixbuf release?  If so things get messy.  If not the simplest might be to revert, since we know this breaks at least two apps, and figure out a better way to make this change?
Comment 7 Vadim Rutkovsky 2015-01-26 15:21:24 UTC
This makes downstream apps use workarounds like https://git.gnome.org/browse/gnome-continuous/commit/?id=582e0aedd909cc59ae66474ae11077455bb41cbe
Comment 8 Bastien Nocera 2015-01-26 15:27:08 UTC
(In reply to comment #6)
> The cleanest might be to add (rename-to-and-keep) to introspection.  I thought
> we did that by default actually, in the .gir it still exists, just sets
> shadows=.
> 
> Did this change make it into a stable gdk-pixbuf release?  If so things get
> messy.  If not the simplest might be to revert, since we know this breaks at
> least two apps, and figure out a better way to make this change?

It's only in gdk-pixbuf devel, not in any stable releases.
Comment 9 Matthias Clasen 2015-01-26 20:02:52 UTC
should we do as suggested in comment 6 then, and revert ?
Comment 10 Dieter Verfaillie 2015-02-27 19:54:44 UTC
(In reply to Colin Walters from comment #6)
> The cleanest might be to add (rename-to-and-keep) to introspection.

Think that might also be a possible way to fix bug #660923
Comment 11 Andrew Chadwick 2015-03-04 18:10:45 UTC
Breaking MyPaint (Python): https://github.com/mypaint/mypaint/issues/236 - crosscuts with an attempted workaround for POSIX/Windows API inconsistencies too, for extra confusion amongst us poor devs.
Comment 12 Bastien Nocera 2015-03-05 12:54:54 UTC
Reverted in master. If and when we break API/ABI, we should reapply this.
Comment 13 GNOME Infrastructure Team 2018-05-22 13:13:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/32.