From e292586c90d9c008d6a8ef76dd3ab37cd2d24efc Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Mon, 21 Sep 2015 18:02:08 +0100 Subject: one more place (bzr r4008.5.3) --- launcher/ApplicationLauncherIcon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/ApplicationLauncherIcon.cpp b/launcher/ApplicationLauncherIcon.cpp index 0eda2da7a..ede26baf8 100644 --- a/launcher/ApplicationLauncherIcon.cpp +++ b/launcher/ApplicationLauncherIcon.cpp @@ -565,7 +565,7 @@ void ApplicationLauncherIcon::UpdateDesktopFile() case G_FILE_MONITOR_EVENT_DELETED: { _source_manager.AddTimeoutSeconds(1, [this, desktop_file] { - if (!g_file_query_exists(file, nullptr)) + if (!g_file_query_exists(desktop_file, nullptr)) { UnStick(); LogUnityEvent(ApplicationEventType::DELETE); -- cgit v1.2.3