summaryrefslogtreecommitdiff
path: root/unity-standalone
diff options
authorStephen M. Webb <stephen.webb@canonical.com>2012-10-01 13:18:07 -0400
committerStephen M. Webb <stephen.webb@canonical.com>2012-10-01 13:18:07 -0400
commit10b13c8185da4e4012d977461aa1acc5cfff4901 (patch)
tree6a2897c748172645599740a2860282882c3dfb12 /unity-standalone
parent0ba147d857905bbe79f0a156755336b40e214850 (diff)
Fix crashes in unity-standalone tool due to unitialized 'singleton'
(bzr r2771.2.1)
Diffstat (limited to 'unity-standalone')
-rw-r--r--unity-standalone/StandaloneUnity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/unity-standalone/StandaloneUnity.cpp b/unity-standalone/StandaloneUnity.cpp
index 50069c989..58d74cabe 100644
--- a/unity-standalone/StandaloneUnity.cpp
+++ b/unity-standalone/StandaloneUnity.cpp
@@ -39,6 +39,7 @@
#include "unity-shared/FontSettings.h"
#include "unity-shared/PanelStyle.h"
#include "unity-shared/PluginAdapter.h"
+#include "unity-shared/ThumbnailGenerator.h"
#include "unity-shared/UBusMessages.h"
#include "unity-shared/UBusWrapper.h"
#include "unity-shared/UnitySettings.h"
@@ -165,6 +166,7 @@ int main(int argc, char **argv)
PluginAdapter::Initialize(NULL);
dash::Style dash_style;
panel::Style panel_style;
+ unity::ThumbnailGenerator thumbnail_generator;
internal::FavoriteStoreGSettings favorite_store;
BackgroundEffectHelper::blur_type = BLUR_NONE;