problems upgrading from 0.99.8 to 1.0



Hey all, 

First off, I'm quite happy that gtk has finally hit the revered 1.0.
Things such as binary and source compatibility are indeed nice things to
have when possible.  

This brings me to another point..  I thought that 1.0 was supposed to be
at least source compatible back to somewhere around 0.99.6.  I'm writing a
gtk application (with gtk--) that is exhibiting some strange behavior with
gtk 1.0.  It works fine with 0.99.8 and gtk-- 0.8.0, but when I install
1.0, run ldconfig, recompile and run my app, it dumps tons of errors and
then segfaults after showing the first two windows (out of four).  

Here's the last few errors (out of a total of 377):

** WARNING **: invalid class type `(unknown)' in cast to `GtkWidget'

** WARNING **: file gtkwidget.c: line 4124 (gtk_widget_ref):
"GTK_IS_WIDGET (widget)"

** WARNING **: file gtkobject.c: line 429 (gtk_object_sink):
"GTK_IS_OBJECT (object)"

** WARNING **: file gtksignal.c: line 1044 (gtk_signal_real_emit):
"gtk_type_is_a (GTK_OBJECT_TYPE (object), signal->info.object_type)"

** WARNING **: file gtksignal.c: line 300 (gtk_signal_lookup):
"gtk_type_is_a (object_type, GTK_TYPE_OBJECT)"

** WARNING **: gtk_signal_emit_by_name(): could not find signal "show" in
the `(null)' class ancestry

** ERROR **: sigsegv caught

Can anyone enlighten me as to what's going on?  I'm fairly new to gtk, but
as I said, it runs fine under 0.99.8.  I haven't tried any of the
intermediate releases.  This is on a redhat 5.0 system BTW.

Thanks for any help.

-Brian



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