From 08e0ccebdfb13bad7a3a5aadd45fa3e6f34ae647 Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Mon, 1 Dec 2014 10:54:13 +0300 Subject: [PATCH] Don't dequeue request when new image is queued --- common/xfdesktop-thumbnailer.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/common/xfdesktop-thumbnailer.c b/common/xfdesktop-thumbnailer.c index 494884d..124177a 100644 --- a/common/xfdesktop-thumbnailer.c +++ b/common/xfdesktop-thumbnailer.c @@ -320,22 +320,6 @@ xfdesktop_thumbnailer_queue_thumbnail(XfdesktopThumbnailer *thumbnailer, } if(thumbnailer->priv->request_timer_id) { g_source_remove(thumbnailer->priv->request_timer_id); - - if(thumbnailer->priv->handle && thumbnailer->priv->proxy != NULL) { - if(dbus_g_proxy_call(thumbnailer->priv->proxy, - "Dequeue", - NULL, - G_TYPE_UINT, thumbnailer->priv->handle, - G_TYPE_INVALID) == FALSE) - { - /* If this fails it usually means there's a thumbnail already - * being processed, no big deal */ - XF_DEBUG("Dequeue of thumbnailer->priv->handle: %d failed", - thumbnailer->priv->handle); - } - - thumbnailer->priv->handle = 0; - } } if(g_slist_find(thumbnailer->priv->queue, file) == NULL) { -- 2.1.3