cannot cast spin button entry.




  During compile time, I always get the error message "cannot convert to
a pointer type" , whenever I try to cast the entry part of a spin
button:

 gchar *stringval;
 stringval = gtk_entry_get_text(GTK_ENTRY (
GTK_SPIN_BUTTON(spinbutton)->entry));

  Why is this?   I _can_ dereference the
GTK_SPIN_BUTTON(spinbutton)->entry, but I just can't cast it as
anything, which makes it useless.

  JCA






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]