Re: gtk_idle_add error

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

 



Le samedi 11 février 2006 à 01:48 +0800, Keith Poole a écrit :
> Hi.
> Having some problems using gtk_idle_add.
> Heres what im trying to do (its obvious)
> 
> // some function code here
>     gtk_idle_add(idlestuff, window);
> // some more function code here
> 
> int idlestuff(GtkWidget *widget, GtkWidget *window)
> {
>     gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
>     return TRUE;
> }
> 
> I have tried all sorts and i cant get it to work at all. Gcc also
> spits out the following warning:
> warning: implicit declaration of function 'gtk_idle_add'

gtk_idle_add is deprecated, use g_idle_add.

_______________________________________________

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