[Xfce4-commits] [xfce/thunar] 01/01: Drop timer on finalize (Bug #15305)
noreply at xfce.org
noreply at xfce.org
Wed Jan 1 22:29:40 CET 2020
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit bc1b71a2a24abdbfb6a3d3e7f58678cf21a44e41
Author: Andre Miranda <andreldm at xfce.org>
Date: Wed Jan 1 18:28:59 2020 -0300
Drop timer on finalize (Bug #15305)
---
thunar/thunar-column-model.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/thunar/thunar-column-model.c b/thunar/thunar-column-model.c
index d2fc88d..1ece1be 100644
--- a/thunar/thunar-column-model.c
+++ b/thunar/thunar-column-model.c
@@ -213,6 +213,10 @@ thunar_column_model_finalize (GObject *object)
g_signal_handlers_disconnect_matched (G_OBJECT (column_model->preferences), G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, column_model);
g_object_unref (G_OBJECT (column_model->preferences));
+ /* drop any running "save width" timer */
+ if (G_UNLIKELY (column_model->save_width_timer_id != 0))
+ g_source_remove (column_model->save_width_timer_id);
+
(*G_OBJECT_CLASS (thunar_column_model_parent_class)->finalize) (object);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list