Re: Gnome canvas problem on Ubuntu
- From: muppet <scott asofyet org>
- To: gtk-perl mailing list <gtk-perl-list gnome org>
- Subject: Re: Gnome canvas problem on Ubuntu
- Date: Sat, 3 Dec 2005 09:28:43 -0500
On Dec 3, 2005, at 7:12 AM, Torsten Schoenfeld wrote:
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.
That was my first thought, but the case Grant posted is the
archetypal counterexample. Since Gnome2::Canvas registers its types
in BOOT, the bindings will nearly always be the first to register the
name.
--
elysse (pregnant): are your hands cold?
me: uh, i suppose so.
elysse: will you put them on me?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]