summaryrefslogtreecommitdiff
path: root/tvguide.c
diff options
context:
space:
mode:
Diffstat (limited to 'tvguide.c')
-rw-r--r--tvguide.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tvguide.c b/tvguide.c
index 8b541fb..073e3ef 100644
--- a/tvguide.c
+++ b/tvguide.c
@@ -12,6 +12,7 @@
#include <vdr/plugin.h>
#include <vdr/device.h>
#include <vdr/menu.h>
+#include <Magick++.h>
#define DEFINE_CONFIG 1
#include "geometrymanager.h"
@@ -93,6 +94,10 @@ bool cPluginTvguide::ProcessArgs(int argc, char *argv[]) {
return true;
}
+__attribute__((constructor)) static void init(void) {
+ Magick::InitializeMagick(NULL);
+}
+
bool cPluginTvguide::Initialize(void) {
config.SetDefaultPathes();
config.LoadTheme();