On 01/11/2017 04:06 PM, Federico Mena Quintero wrote:
> How would you write a correctness test for this?  Or what specific set
> of conditions would cause an error here?

Not sure, its a runtime error you would see when a downstream would try
to register an already registered GType.

> Librsvg *only* uses the Cairo part from gtk-rs right now; it doesn't
> use the GTK+ bindings.  It also uses little bits from glib-rs, but just
>  for marshaling strings.

It might work today, just something to consider. One example might be if
the glib-rs marshaler decided to created a string boxed type for UTF-8
strings to avoid further deep copies.

-- Christian
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to