>sql_refresh()
>[...]
> if(!conn) {
> auto_push_statusbar("You are not linked to the SQL server -- Going
>online");
> sql_connect();
> if(!conn) {
> auto_push_statusbar("Unable to link to SQL server");
> return;
> }
> else
> auto_push_statusbar("Connected to SQL server, refreshing every...");
>
> timeoutid=gtk_timeout_add(200, (void *)&auto_refresh, NULL);
> }
>[...]
> gtk_entry_set_text()
>}
>
>auto_refresh()
>{
> GtkButton *dummy1=NULL;
> gpointer dummy2=0;
> sql_refresh(dummy1, dummy2);
> return;
>}
This code doesn't make a lot of sense to me. What are you trying to
accomplish ? When and how do you cancel the timeout function, and why
doesn't it return FALSE or TRUE (or is that because you didn't
actually cut-n-paste) ?
--p
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list