need help with a GTK+ cast

From: Claire (Claire_at_where_the_hell_is_my_makeup.net)
Date: 07/21/04


Date: Tue, 20 Jul 2004 23:10:37 GMT

I'm using a GtkComboBoxEntry widget in my app and I'm trying to get the
text from it using gtk_entry_get_text() because the doucmentation says to
use GtkEntry functions on it. The problem I having is I'm not quite how to
cast it. I tried GTK_ENTRY, GTK_COMBO, and even GTK_ENTRY(GTK_COMBO()),
but no matter I get errors like this " invalid cast from
`GtkComboBoxEntry' to `GtkEntry'" when attempting to read the entry.