Closed d47081 closed 4 months ago
I know that is a ide auto format, but this is not nice hahaha
return pango_layout_get_line_spacing(
PANGO_LAYOUT(
instance
)
);
just do
return pango_layout_get_line_spacing(PANGO_LAYOUT(instance));
another thing, try to not return directly. Return to a var, and return the var. this can do things easly to maintain or cast if needed
https://docs.gtk.org/Pango/method.Layout.set_spacing.html https://docs.gtk.org/Pango/method.Layout.get_spacing.html https://docs.gtk.org/Pango/method.Layout.set_line_spacing.html https://docs.gtk.org/Pango/method.Layout.get_line_spacing.html