Re: Newbie & timing issue
- From: John Cupitt <jcupitt gmail com>
- To: Alf C Stockton <alf stockton co za>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Newbie & timing issue
- Date: Tue, 13 Jul 2004 11:28:09 +0000
On Tue, 13 Jul 2004 11:22:40 +0200 (SAST), Alf C Stockton
<alf stockton co za> wrote:
My fish is now telling me
(gtktimer2:3010): Gtk-CRITICAL **: file gtkwidget.c: line 1697 (gtk_widget_destroy): assertion
`GTK_IS_WIDGET (widget)' failed
If the user closes the dialog before the timer gets a chance to, you
need to stop the timeout. Otherwise the auto-close timer will trigger
and try to close a dialog that died a while ago.
When you add a timeout you get an id back. Pass this id to
g_source_remove() to stop the timeout happening.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]