GtkLabel trouble.
- From: Jered Bolton <j bolton elec gla ac uk>
- To: gtk-list gnome org
- Subject: GtkLabel trouble.
- Date: Thu, 10 May 2001 11:58:27 +0100
Hi,
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...");
Does gtk_label_get do something to the label widget which upsets
gtk_label_set_text?
Jered.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]