forked from AuroraMiddleware/gtk
combobox: Remove autoscroll timer on popdown
This commit is contained in:
parent
19726a5a0e
commit
5f6db9a182
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user