I get the following warning when compiling:
podcast.c:625: Warnung: =13ize' might be used uninitialized in this function
I'm not sure if changing
is the right thing to do, so I leave it to you to think about it.
I found something else, by the way:
void on_pc_add_button_clicked (GtkButton *button,
gtk_list_store_append (model, &iter);
gtk_list_store_set (model, &iter,
If you want to use 'text' and 'text' you need to declare
because the integer in the bracket of the declaration stands for the number
of elements, which are counted from 0 when referencing...
Declaring that one 'static' moved the memory away from the stack and made it
less likely that it gets overwritten right away.
I'll submit that one.
Le lundi 17 octobre 2005 =C3=A0 22:47 +0900, Jorg Schuler a =C3=A9crit :
> If you want to use 'text' and 'text' you need to declare
> gchar *text;
Doh, how can I be so blind :-/ Thanks for spotting that ;=3D)