added update() interval callback

This commit is contained in:
Josh Holtrop 2010-11-24 14:31:06 -05:00
parent 467e701d27
commit 8551a3800d

View File

@ -107,6 +107,12 @@ configure (GtkWidget *da, GdkEventConfigure *event, gpointer user_data)
return TRUE;
}
static gboolean
update (void *user_data)
{
return TRUE;
}
int
main (int argc,
char *argv[])
@ -174,6 +180,8 @@ main (int argc,
gtk_widget_show (window);
gtk_timeout_add(12, update, NULL);
gtk_main ();
return EX_OK;