Hi,
Jered Bolton <[EMAIL PROTECTED]> writes:
> Why is it that if I use gtk_label_get, I get a seg fault if I then try
> and use gtk_label_set_text ?
>
> e.g. I want to get the text of a label and use the text to determine
> whether I need to change the text of the same label:
>
> gtk_label_get(GTK_LABEL(label_pointer), pText);
>
> if ( pText contains something or other)
> gtk_label_set_text(GTK_LABEL(label_pointer),
> "something else...");
you don't do anything weird to the pText you get from the label
like modifying or freeing it, do you?
Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list