Re: gtk_events_pending return value
- From: Johannes =?utf-8?b?V2Vpw59s?= <johannes weissl gmx de>
- To: gtk-list gnome org
- Subject: Re: gtk_events_pending return value
- Date: Tue, 6 Jan 2004 22:14:14 +0100
Hello,
On 2004-01-06 12:29:53, Owen Taylor wrote:
> I'd say file a bug report, except that you really shouldn't be
> using that function. Use g_main_pending() but don't write:
>
> while (g_main_pending ())
> g_main_iteration (FALSE);
>
> Just write
>
> while (g_main_iteration (FALSE))
> /* Nothing */;
Hmm, but g_main_iteration is considered deprecated:
"g_main_iteration is deprecated and should not be used in
newly-written code. Use g_main_context_iteration() instead."
And g_main_context_iteration requires an additional GMainContext
argument ...
--
cu,
Johannes Weißl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]