mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
gtkplacesview: unset entry_pulse_timeout_id before removing it
Fixes a warning on widget finalize, when trying to remove an invalid source.
This commit is contained in:
parent
06a1477f80
commit
f9452957cd
@ -1385,6 +1385,7 @@ pulse_entry_cb (gpointer user_data)
|
||||
{
|
||||
gtk_entry_set_progress_pulse_step (GTK_ENTRY (priv->address_entry), 0.0);
|
||||
gtk_entry_set_progress_fraction (GTK_ENTRY (priv->address_entry), 0.0);
|
||||
priv->entry_pulse_timeout_id = 0;
|
||||
|
||||
return G_SOURCE_REMOVE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user