compile error
- From: Aaron Yang <porsche1904 yahoo com>
- To: gtk-list gnome org
- Subject: compile error
- Date: Thu, 16 Dec 2004 23:15:54 -0800 (PST)
hi everyone,
does anyone know why i get the following error:
passing arg 2 of `g_timeout_add' makes pointer from
integer without a cast
when i write my code as such:
g_timeout_add (1000, time (NULL), G_OBJECT (button));
and time function is as follows:
gint time( gpointer data )
{
/* some code */
}
thanks
regards,
aaron
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]