Roberto Leinardi
02/28/2023, 3:52 PMType mismatch: inferred type is GtkCellAllocCallback /* = CPointer<CFunction<(CPointer<GtkCellRenderer /* = _GtkCellRenderer */>?, CPointer<GdkRectangle /* = native.gdk._cairo_rectangle_int */>?, CPointer<GdkRectangle /* = native.gdk._cairo_rectangle_int */>?, CPointer<out CPointed>?) -> gboolean /* = Int */>> */ but GtkCellAllocCallback? /* = CPointer<CFunction<(CPointer<GtkCellRenderer /* = _GtkCellRenderer */>?, CPointer<GdkRectangle /* = native.gtk._cairo_rectangle_int */>?, CPointer<GdkRectangle /* = native.gtk._cairo_rectangle_int */>?, gpointer? /* = CPointer<out CPointed>? */) -> gboolean /* = Int */>>? */ was expected
I really don't get what the issue is: it is expecting a GtkCellAllocCallback?
and I'm giving it a GtkCellAllocCallback?
. Does anyone have a clue of what the issue could be?Roberto Leinardi
02/28/2023, 3:53 PMRoberto Leinardi
02/28/2023, 4:16 PM