Re: Gnome canvas problem on Ubuntu
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gnome canvas problem on Ubuntu
- Date: Sat, 03 Dec 2005 13:12:23 +0100
On Fri, 2005-12-02 at 21:49 -0500, muppet wrote:
GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion
`g_type_from_name (name) == 0' failed at ./beziertest.pl line 19.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ugh. That works on linux, but i don't know how portable it is or how
reliable it is. Anybody have a better idea?
What about this?
In gnomecanvasperl_canvas_path_def_get_type you call
g_type_from_name ("GnomeCanvasPathDef")
to see if there's already a type registered with that name. If so, you
just return it. If not, you go ahead and register the custom type.
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]