summaryrefslogtreecommitdiff
path: root/plugins
diff options
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 417269462..5070f37da 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -41,7 +41,6 @@
#include "PanelView.h"
#include "PluginAdapter.h"
#include "QuicklistManager.h"
-#include "TextureCache.h"
#include "ThemeSettings.h"
#include "Timer.h"
#include "XKeyboardUtil.h"
@@ -4014,10 +4013,6 @@ void UnityScreen::InitUnityComponents()
bghash_.reset(new BGHash());
LOG_INFO(logger) << "InitUnityComponents-BGHash " << timer.ElapsedSeconds() << "s";
- // Ugly hack to ensure that texture cache will connect promptly to theme changed signal
- TextureCache::GetDefault();
- LOG_INFO(logger) << "InitUnityComponents-TextureCache " << timer.ElapsedSeconds() << "s";
-
auto xdnd_collection_window = std::make_shared<XdndCollectionWindowImp>();
auto xdnd_start_stop_notifier = std::make_shared<XdndStartStopNotifierImp>();
auto xdnd_manager = std::make_shared<XdndManagerImp>(xdnd_start_stop_notifier, xdnd_collection_window);