Re: Fw: [PHP-GTK-DEV] NTRVNRP
| From: | Steph Fox | Date: | Mon, 19 Jun 2006 12:20:20 +0000 |
| Subject: | Re: Fw: [PHP-GTK-DEV] NTRVNRP | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3088@lists.php.net to get a copy of this message | ||
Yeah, but I just discovered where Andrei's coming from. That comment's very misleading - it actually _means_ it's registered as a G_TYPE_POINTER, because it doesn't have the copy/free elements of a G_TYPE_BOXED:
GType g_boxed_type_register_static (const gchar *name,
GBoxedCopyFunc boxed_copy,
GBoxedFreeFunc boxed_free);
GType g_pointer_type_register_static (const gchar *name);
So even though it all works perfectly I get:
(bug.php:3608): GLib-GObject-CRITICAL **: g_boxed_copy: assertion `G_TYPE_IS_BOXED (boxed_type)' failed
object(GtkCTreeNode)#4 (0) {
}
because glib tries to perform a copy on it.
:-(
- Steph
That's a 3% boost - it took weeks for me to reach that. -- Regards/MfG, Christian Weiske -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpMethods : 92.4% written (1797/1944)