Re: Error message



Marco Quezada <mquezada nlxcorp com> writes:
Hello,

I created some code to generate a window with a few text entries and
pull down menus in it. It works great except that when I close this
window GTK throws the following error message:

Gtk-CRITICAL **: file gtkobject.c: line 1173 (gtk_object_unref):
assertion `object->ref_count > 0' failed

I tried the debugger but gdb ends by saying that the program exited
normally.

Has anyone seen something similar?


It means you unref() an object too many times. You can set a
breakpoint on g_logv() to see the last unref(), though that may not be
the incorrect unref().

Havoc




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