Skip to content

Fix some GObject introspection warnings

Gaël Bonithon requested to merge Tamaranch/libxfce4util:fix-gir-warnings into master
xfce-gio-extensions.c:42: Warning: Libxfce4util: xfce_g_file_metadata_is_supported: argument file: Unresolved type: 'GFile*'
xfce-gio-extensions.c:73: Warning: Libxfce4util: xfce_g_file_create_checksum: argument file: Unresolved type: 'GFile*'
xfce-gio-extensions.c:73: Warning: Libxfce4util: xfce_g_file_create_checksum: argument cancellable: Unresolved type: 'GCancellable*'
xfce-gio-extensions.c:170: Warning: Libxfce4util: xfce_g_file_set_trusted: argument file: Unresolved type: 'GFile*'
xfce-gio-extensions.c:170: Warning: Libxfce4util: xfce_g_file_set_trusted: argument cancellable: Unresolved type: 'GCancellable*'
xfce-gio-extensions.c:248: Warning: Libxfce4util: xfce_g_file_is_trusted: argument file: Unresolved type: 'GFile*'
xfce-gio-extensions.c:248: Warning: Libxfce4util: xfce_g_file_is_trusted: argument cancellable: Unresolved type: 'GCancellable*'

Adding GIO to gir_INCLUDES is not enough, one must also avoid conflicts with vapigen (see https://wiki.gnome.org/Projects/Vala/UpstreamGuide).

Related to !16 (merged).

Merge request reports

Loading