You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generated bindings for Gtk::Popover#pointing_to= is:
defpointing_to=(rect : Gdk::Rectangle?) : Nil# gtk_popover_set_pointing_to: (Method | Setter)# @rect: (nullable)# Returns: (transfer none)# Generator::NullableArrayPlan
rect =if rect.nil?
Pointer(Void).null
else
rect.to_unsafe
end# C callLibGtk.gtk_popover_set_pointing_to(to_unsafe, rect)
# Return value handlingend
This compiles but doesn't work, type of rect in else still a union, the problem is caused by the reuse of the rect variable, if I change it to something else it works.
Generated bindings for
Gtk::Popover#pointing_to=
is:This compiles but doesn't work, type of
rect
inelse
still a union, the problem is caused by the reuse of therect
variable, if I change it to something else it works.Monkey patch to fix that:
The text was updated successfully, but these errors were encountered: