Commit 2238e242 authored by Paolo Bacchilega's avatar Paolo Bacchilega

location chooser: reset event id to 0 after removing it

parent cc4b7665
......@@ -713,8 +713,10 @@ gth_location_chooser_set_show_entry_points (GthLocationChooser *self,
entry_points_changed_cb (NULL, self);
}
else {
if (self->priv->entry_points_changed_id != 0)
if (self->priv->entry_points_changed_id != 0) {
g_source_remove (self->priv->entry_points_changed_id);
self->priv->entry_points_changed_id = 0;
}
clear_entry_point_list (self);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment