Re: GtkLabel trouble.
- From: Sven Neumann <sven gimp org>
- To: Jered Bolton <j bolton elec gla ac uk>
- Cc: gtk-list gnome org
- Subject: Re: GtkLabel trouble.
- Date: 10 May 2001 14:23:39 +0200
Hi,
Jered Bolton <j bolton elec gla ac uk> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]