summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-03-31 07:57:11 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2016-03-31 07:57:11 +0200
commit3f9213dc3239e44ef2cf32d3ef959dcdd023522d (patch)
tree8c0c59e7c138be5b1191b30771da18f7d848d13c /plugins
parentdb418a2e5d5972b675c884df761d07863d5dcc3c (diff)
Launcher, Panel, TextInput: use cache texture_invalidated to reload textures
So we can remove we workaround in UnitySettings as the signal is always emitted after removing all the themed textures that we have. (bzr r4093.2.28)
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);