compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux