[Xfce4-commits] <xfdesktop:jannis/port-to-gio> Drop unneeded code (I think we can just fire and forget here).
Jannis Pohlmann
noreply at xfce.org
Mon Oct 18 13:16:02 CEST 2010
Updating branch refs/heads/jannis/port-to-gio
to 77fc5a41311f8a87503de7de36bba2d56adf7e96 (commit)
from 6ed387f88bc36faafc1553399e353485ee44f3f5 (commit)
commit 77fc5a41311f8a87503de7de36bba2d56adf7e96
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Mon Oct 18 13:14:54 2010 +0200
Drop unneeded code (I think we can just fire and forget here).
src/xfdesktop-file-icon-manager.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index 5a12333..5c8c3c3 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -125,8 +125,6 @@ struct _XfdesktopFileIconManagerPrivate
GtkTargetList *drag_targets;
GtkTargetList *drop_targets;
- GList *active_trash_calls;
-
#ifdef HAVE_THUNARX
GList *thunarx_menu_providers;
GList *thunarx_properties_providers;
@@ -3078,23 +3076,6 @@ xfdesktop_file_icon_manager_fini(XfdesktopIconViewManager *manager)
fmanager->priv->list_job = NULL;
}
- if(fmanager->priv->active_trash_calls) {
- GList *l;
- XfdesktopTrashFilesData *tdata;
-
- for(l = fmanager->priv->active_trash_calls; l; l = l->next) {
- tdata = l->data;
- dbus_g_proxy_cancel_call(tdata->proxy, tdata->call);
- g_object_unref(tdata->proxy);
- g_list_foreach(tdata->files, (GFunc)g_object_unref, NULL);
- g_list_free(tdata->files);
- g_free(tdata);
- }
-
- g_list_free(fmanager->priv->active_trash_calls);
- fmanager->priv->active_trash_calls = NULL;
- }
-
g_signal_handlers_disconnect_by_func(G_OBJECT(fmanager->priv->desktop),
G_CALLBACK(xfdesktop_file_icon_manager_populate_context_menu),
fmanager);
More information about the Xfce4-commits
mailing list