summaryrefslogtreecommitdiff
path: root/gtk/gtkcomboboxentry.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2005-04-04 21:35:46 +0000
committerManish Singh <yosh@src.gnome.org>2005-04-04 21:35:46 +0000
commit006fcb4abe7dab900f5527d7c947de014d9a3a55 (patch)
tree219755f7567f29324ca9918d920558efea6bf3e7 /gtk/gtkcomboboxentry.c
parent70d788c71ea3013b8723e69014bc6f9b96c11717 (diff)
downloadgtk+-006fcb4abe7dab900f5527d7c947de014d9a3a55.tar.gz
cast combo->priv->entry to GTK_ENTRY()
Mon Apr 4 14:33:55 2005 Manish Singh <yosh@gimp.org> * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): cast combo->priv->entry to GTK_ENTRY() * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): cast completion->priv->tree_view to GTK_TREE_VIEW()
Diffstat (limited to 'gtk/gtkcomboboxentry.c')
-rw-r--r--gtk/gtkcomboboxentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcomboboxentry.c b/gtk/gtkcomboboxentry.c
index 108605465d..d5f54a0c59 100644
--- a/gtk/gtkcomboboxentry.c
+++ b/gtk/gtkcomboboxentry.c
@@ -395,7 +395,7 @@ gtk_combo_box_entry_get_active_text (GtkComboBox *combo_box)
GtkComboBoxEntry *combo = GTK_COMBO_BOX_ENTRY (combo_box);
if (combo->priv->entry)
- return g_strdup (gtk_entry_get_text (combo->priv->entry));
+ return g_strdup (gtk_entry_get_text (GTK_ENTRY (combo->priv->entry)));
return NULL;
}