From 99eebd0f3987e200f67295015d222057ceba1226 Mon Sep 17 00:00:00 2001 From: Nick Schermer <nick@xfce.org> Date: Tue, 30 Oct 2012 18:04:21 +0100 Subject: [PATCH] Remove unused variable from icon factory. --- thunar/thunar-icon-factory.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c index f2bf1d46b..cb3faeb2f 100644 --- a/thunar/thunar-icon-factory.c +++ b/thunar/thunar-icon-factory.c @@ -114,7 +114,6 @@ struct _ThunarIconFactory gboolean show_thumbnails; - gint changed_idle_id; gint sweep_timer_id; gulong changed_hook_id; @@ -192,7 +191,6 @@ static void thunar_icon_factory_init (ThunarIconFactory *factory) { /* initialize GSource ids */ - factory->changed_idle_id = -1; factory->sweep_timer_id = -1; /* connect emission hook for the "changed" signal on the GtkIconTheme class. We use the emission @@ -215,9 +213,6 @@ thunar_icon_factory_dispose (GObject *object) _thunar_return_if_fail (THUNAR_IS_ICON_FACTORY (factory)); - if (G_UNLIKELY (factory->changed_idle_id >= 0)) - g_source_remove (factory->changed_idle_id); - if (G_UNLIKELY (factory->sweep_timer_id >= 0)) g_source_remove (factory->sweep_timer_id); -- GitLab