Do not cast MooTextPopup to a widget
This commit is contained in:
parent
d8c03256ee
commit
0cc361a554
@ -470,7 +470,7 @@ popup_key_press (MooTextCompletion *cmpl,
|
||||
{
|
||||
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_complete (cmpl, &iter);
|
||||
|
Loading…
x
Reference in New Issue
Block a user