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.


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to