View Single Post
Posts: 7 | Thanked: 0 times | Joined on Mar 2010 @ Sheffield UK
#1
I'm writing a fairly simple countdown timer app, and am destroying a vbox with a couple of hboxes with buttons and labels in.

It's early days yet so I've just been running it in scratchbox x86.

If I click on my delete button, it calls gtk_widget_destroy on the box fine, and disappears as I'd expect it to. On the console there are no errors.

However, if I then move the mouse pointer over the title bar or the close icon, or the notification area, I get this message instantly on the console:

Code:
bbtimer[8559]: GLIB CRITICAL ** GLib-GObject - g_object_ref: assertion `G_IS_OBJECT (object)' failed
bbtimer[8559]: GLIB CRITICAL ** GLib-GObject - g_object_ref: assertion `G_IS_OBJECT (object)' failed
Everything else seems to be fine afterwards. If I just run gtk_widget_hide instead it doesn't produce this error.

Any ideas? I'm still pretty new at this GTK thing but getting a bit better at it (I think...)