summaryrefslogtreecommitdiff
path: root/skinnopacity.c
diff options
context:
space:
mode:
Diffstat (limited to 'skinnopacity.c')
-rw-r--r--skinnopacity.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/skinnopacity.c b/skinnopacity.c
index 9ed34af..1492be7 100644
--- a/skinnopacity.c
+++ b/skinnopacity.c
@@ -19,7 +19,7 @@
#endif
-static const char *VERSION = "1.1.3";
+static const char *VERSION = "1.1.4";
static const char *DESCRIPTION = "'nOpacity' Skin";
static const char *MAINMENUENTRY = "nOpacity";
@@ -95,6 +95,10 @@ bool cPluginNopacity::ProcessArgs(int argc, char *argv[]) {
return true;
}
+__attribute__((constructor)) static void init(void) {
+ Magick::InitializeMagick(NULL);
+}
+
bool cPluginNopacity::Initialize(void) {
return true;
}