Fw: Fw: [PHP-GTK-DEV] NTRVNRP

From: Date: Mon, 19 Jun 2006 13:58:15 +0000
Subject: Fw: Fw: [PHP-GTK-DEV] NTRVNRP
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3090@lists.php.net to get a copy of this message
I have it now. We need to register the ce as a boxed type but create each node as a pointer type. (You should see the mess on my desktop.) I just need to kill a compiler warning I can't track down, then I almost dare commit... - Steph
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
Methods             :  92.4% written (1797/1944)
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.php
-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com


« previous php.gtk.dev (#3090) next »