summaryrefslogtreecommitdiff
path: root/thumbnailer
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2016-10-31 21:02:14 +0100
committerChristoph Reiter <creiter@src.gnome.org>2016-11-07 12:09:50 +0100
commit85b4f6c291c5b928b4b60a31dfac83ec2927f345 (patch)
treed84ff91f51dce880945694e505e54a58280aaeb7 /thumbnailer
parente8af5205181664e65daa6247274f929776539c41 (diff)
downloadgdk-pixbuf-85b4f6c291c5b928b4b60a31dfac83ec2927f345.tar.gz
windows: Remove old codepage ABI compat code
(and as a side effect make the gi bindings API compatible with other platforms) The compat code was added in https://git.gnome.org/browse/gdk-pixbuf/commit/?id=141506eb46927eb10b74bc24727488bdbde1c7d4 to allow switching to utf-8 paths while keeping binary compatibility and to make new programs link against the "_utf8" variants. This results in two problems for gi bindings: (1) g-ir-scanner can't find the annotations due to the renames and thus gdk_pixbuf_savev() can't be used in bindings (the other functions happen to work with default annotations) (2) g-ir-scanner will write the renamed functions in the gir/typelib with the "_utf8" suffix, making the resulting bindings API incompatible with other platforms. Some months ago https://git.gnome.org/browse/gdk-pixbuf/commit/?id=6855a2d806b2305938abc04b0cb4fa383f8ccd3b got rid of symbol files, breaking ABI and old binaries. This patch removes the, now unused, codepage code and removes the renames so that new code links against the real functions again. To not break recent binaries add new functions with the _utf8 suffix which just call the main functions. Annotations are copied as well to not break bindings API. A similar change in glib was commited some years ago https://git.gnome.org/browse/glib/commit/?id=8c42a663f8182f8281c083390aa761e8e9badc63 https://bugzilla.gnome.org/show_bug.cgi?id=773760
Diffstat (limited to 'thumbnailer')
0 files changed, 0 insertions, 0 deletions