Re: Why the Timer doesn't work? (about g_timeout_add())
- From: "Tor Lillqvist" <tml iki fi>
- To: "Lazy Fox" <lazy fox wu gmail com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Re: Why the Timer doesn't work? (about g_timeout_add())
- Date: Wed, 20 Aug 2008 10:58:18 +0300
Look at this:
static void timer_1_test(gpointer data)
g_timeout_add(1000, (GSourceFunc)timer_1_test, cw);
Then look at the documentation for GSourceFunc:
http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html#GSourceFunc
. Notice anything?
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]