Re: [gtk-list] Re: warning/crash removing widgets from box



On Tue, 01 Sep 1998, Havoc Pennington wrote:
>On Mon, 31 Aug 1998, Stephen Tell wrote:
>> Whatever I try, when running on HP-UX, I get a lot of runtime warnings
>> messages of this form but the button does disappear:
>> ** WARNING **: invalid cast from `GtkButton' to `GtkToggleButton'
>> ** WARNING **: invalid cast from `(unknown)' to `GtkToggleButton'
>> ** WARNING **: invalid cast from `(unknown)' to `GtkToggleButton'
>> ** WARNING **: invalid cast from `(unknown)' to `GtkToggleButton'
>> ** WARNING **: invalid cast from `(unknown)' to `GtkToggleButton'
>> ** WARNING **: invalid cast from `(unknown)' to `GtkToggleButton'
>> 
>> 
>> On Linux I usually get a SIGSEGV, after one or two runtime warnings:
>> ** WARNING **: invalid cast from `GtkButton' to `GtkToggleButton'
>> ** WARNING **: file gtkcontainer.c: line 359 (gtk_container_remove):
>> "widget->parent == GTK_WIDGET (container)"
>> ** ERROR **: sigsegv caught
>> 
>
Hi,
I had the same kind of errors coming on my RH5.1 system on an alpha. Then I
read it's 'bout some old gdk, gtk and glib still hanging 'round on my system.
So I removed all gtk, gdk and glib-references, removed the gtk-config programm
and reinstalled everything using 'make install'. After the ldconfig (don't
forget to add the paths in /etc/ld.so.conf !) and recompilation, I didn't get
these warnings anymore. I hope this helps...

Greets

Ineiti


--
+------------------+-------------------+
I L.Gasser         I          MALKUTH  I
I Marterey 23      I       Simplon 12  I
I 1005 Lausanne    I    1006 Lausanne  I
I 021/320 02 94    I    021/617 84 55  I
+------------------+-------------------+
I        http://194.38.81.99           I
+--------------------------------------+

Hass erregt Hader; aber die Liebe deckt alle Uebertretungen zu.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]