diff options
-rw-r--r-- | src/xfdesktop-file-icon-manager.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c index 155be459..46342d5b 100644 --- a/src/xfdesktop-file-icon-manager.c +++ b/src/xfdesktop-file-icon-manager.c @@ -2271,10 +2271,8 @@ xfdesktop_file_icon_manager_file_changed(GFileMonitor *monitor, DBG("got a moved event"); icon = g_hash_table_lookup(fmanager->priv->icons, file); - if(!icon) { - g_critical("G_FILE_MONITOR_EVENT_MOVED for an icon that doesn't exist"); + if(!icon) return; - } file_info = g_file_query_info(other_file, XFDESKTOP_FILE_INFO_NAMESPACE, G_FILE_QUERY_INFO_NONE, NULL, NULL); |