Re: [gtk-list] Problem unreferencing object
- From: Pedro Medeiros <pjira solar com br>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Problem unreferencing object
- Date: Tue, 14 Mar 2000 11:22:20 +0000
Rafael Peregrino da Silva wrote:
> Gtk-WARNING **: invalid class type `(unknown)' in cast to `GtkObject'
>
> Gtk-CRITICAL **: file gtkobject.c: line 1172 (gtk_object_unref):
> assertion `GTK_IS_OBJECT (object)' failed.
Looks like when you call GTK_OBJECT (window1) you get that
warning. Are you sure window1 has been properly used? Check
if there is something after gtk_main () that calls any
gtkobject.
You could also do this:
gtk_signal_connect (GTK_OBJECT (window1), "destroy",
GTK_SIGNAL_FUNC (gtk_main_quit), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]