summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.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/gtkentrycompletion.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/gtkentrycompletion.c')
-rw-r--r--gtk/gtkentrycompletion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index 403cf35c4d..9c16116c19 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -1324,7 +1324,7 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
else
width = -1;
- gtk_tree_view_columns_autosize (completion->priv->tree_view);
+ gtk_tree_view_columns_autosize (GTK_TREE_VIEW (completion->priv->tree_view));
gtk_widget_set_size_request (completion->priv->tree_view, width, items * height);
/* default on no match */