Do not cast MooTextPopup to a widget
parent
d8c03256ee
commit
0cc361a554
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue