combobox: Remove autoscroll timer on popdown

This commit is contained in:
Benjamin Otte 2015-07-19 18:31:33 +02:00
parent 19726a5a0e
commit 5f6db9a182

View File

@ -2502,6 +2502,12 @@ gtk_combo_box_popdown (GtkComboBox *combo_box)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->button),
FALSE);
if (priv->scroll_timer)
{
g_source_remove (priv->scroll_timer);
priv->scroll_timer = 0;
}
priv->grab_pointer = NULL;
priv->grab_keyboard = NULL;
}