Re: Widgets and GThreads.
- From: Brian Kerrick Nickel <kerrick cox net>
- To: gtk-list gnome org
- Subject: Re: Widgets and GThreads.
- Date: Tue, 08 Jun 2004 01:51:49 -0700
> The idle function should return 'gboolean' depending on whether it
> should be called again. By declaring it 'void' the return value is
> undefined, depending on optimization flags it might be TRUE or FALSE.
> If TRUE, that will crash... Better safe than sorry ;)
And that's why I never guarantee my code samples. I guess this then:
gboolean thread_button_set_label_BD (ButtonData *data)
{
gtk_button_set_label (data->button, data->label);
g_free (data->label);
g_free (data);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]