On Sun, 2006-12-24 at 00:26 +0100, Tomasz Jankowski wrote:
> Hello!
>
> This is simple code:
> #include
>
> gboolean pulse_it (gpointer data) {
> gtk_progress_bar_pulse (data);
> return TRUE;
> }
>
> gint thread_fun (gpointer data) {
> gint source_id = g_timeout_add (100, (GSource
Hello!
This is simple code:
#include
gboolean pulse_it (gpointer data) {
gtk_progress_bar_pulse (data);
return TRUE;
}
gint thread_fun (gpointer data) {
gint source_id = g_timeout_add (100, (GSourceFunc) pulse_it, data);
g_usleep (500);
g_source_remove (source_id);