Web lists-archives.com

pango_script_get_sample_language()




https://developer.gnome.org/pango/stable/pango-Scripts-and-Languages.html#pango-script-get-sample-language

That function returns a pointer to PangoLanguage.

From

/usr/share/gir-1.0/Pango-1.0.gir

we have

<return-value transfer-ownership="full" nullable="1">

transfer-ownership="full" generally indicates that we have to free the
result. But I have no idea which function may be used for free.

My current guess would be that transfer-ownership="full" is just a bug.
But of course I may be wrong, maybe g_boxed_free() should be used?


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list