Fix building with --enable-debug-flags
authorAndreas Rönnquist <andreas@ronnquist.net>
Sat, 3 Oct 2020 15:03:35 +0000 (17:03 +0200)
committerAndreas Rönnquist <andreas@ronnquist.net>
Sat, 3 Oct 2020 15:08:58 +0000 (17:08 +0200)
commit546dbdfa2dd764e50bbcba74983f8b8490f86393
treec02c24b9c25efabefedcfb389b513d980f50f8ee
parentf8dcb10b89825eced654065c42ca61eaf6632220
Fix building with --enable-debug-flags

This adds wrappers for callback functions which now takes two inputs
to fix building with incompatible function types warnings. See

https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/63

for a similar issue in Xfce-power-manager.
It also adds a header keymap_template.h and makes the char *
keymap_template non-static, and removes some un-used functions
and variables.
22 files changed:
src/cache_maint.c
src/cellrenderericon.c
src/dupe.c
src/dupe.h
src/image-load.c
src/image.c
src/image_load_heif.c
src/image_load_pdf.c
src/img-view.c
src/keymap_template.c
src/keymap_template.h [new file with mode: 0644]
src/layout_image.c
src/layout_util.c
src/main.c
src/pixbuf-renderer.c
src/preferences.c
src/search.c
src/search_and_run.c
src/ui_fileops.c
src/ui_misc.c
src/view_dir.c
src/view_file/view_file_list.c