Re: gtk_widget_size_allocate ??

From: Date: Thu, 04 Jul 2002 19:18:26 +0000
Subject: Re: gtk_widget_size_allocate ??
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2210@lists.php.net to get a copy of this message
Steph wrote:
it's a bit hard to tell without a code snippet :) basically something hasn't been created that should have been and a later internal call to it is failing. ----- Original Message -----
Gtk-CRITICAL **: file gtkwidget.c: line 2455
(gtk_widget_size_allocate):
assertion 'widget != NULL' failed
here the code that produce the error: $playlist = &new GtkCList(2); $playlist->connect("select-row","remove_from_playlist"); $playlist->set_column_visibility(0,false); $playlist->set_column_visibility(1,true); $playlist_scroll = &new GtkScrolledWindow(); $playlist_scroll->set_border_width(5); $playlist_scroll->set_policy(GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); $playlist_scroll->add($playlist); so what's missing or wrong?? -- Danny

« previous php.gtk.general (#2210) next »