[Xfce4-commits] <thunar:master> Remove unused variable from icon factory.

Nick Schermer noreply at xfce.org
Tue Oct 30 22:06:03 CET 2012


Updating branch refs/heads/master
         to 99eebd0f3987e200f67295015d222057ceba1226 (commit)
       from 36c0bc57e750e0f8e6b7438884439076b8720c54 (commit)

commit 99eebd0f3987e200f67295015d222057ceba1226
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Oct 30 18:04:21 2012 +0100

    Remove unused variable from icon factory.

 thunar/thunar-icon-factory.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c
index f2bf1d4..cb3faeb 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);
 


More information about the Xfce4-commits mailing list