mvz / gir_ffi-gtk

GirFFI-based bindings for Gtk+. Supports both Gtk+ 2 and Gtk+ 3
GNU Lesser General Public License v2.1
19 stars 7 forks source link

Use correct function signature for gtk_tree_path_new_from_indices #133

Closed mvz closed 4 months ago

mvz commented 4 months ago

The first argument of this function is a fixed argument. See https://docs.gtk.org/gtk3/ctor.TreePath.new_from_indices.html.

This change prevents an assertion failure in ffi_prep_cif_core in libffi when it is compiled with certain options: It requires variadic functions to have at least one fixed argument.