Do not cast MooTextPopup to a widget

master
Yevgen Muntyan 2008-05-26 22:58:38 -05:00
parent d8c03256ee
commit 0cc361a554
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ popup_key_press (MooTextCompletion *cmpl,
{ {
GtkTreeIter iter; GtkTreeIter iter;
if (_moo_accel_check_event (GTK_WIDGET (cmpl->priv->popup), event, GDK_Tab, 0) && if (_moo_accel_check_event (GTK_WIDGET (cmpl->priv->doc), event, GDK_Tab, 0) &&
moo_text_completion_unique (cmpl, &iter)) moo_text_completion_unique (cmpl, &iter))
{ {
moo_text_completion_complete (cmpl, &iter); moo_text_completion_complete (cmpl, &iter);