diff --git a/src/driver/pictureviewer/pictureviewer.cpp b/src/driver/pictureviewer/pictureviewer.cpp index b5ca90b6d..17d07c89b 100644 --- a/src/driver/pictureviewer/pictureviewer.cpp +++ b/src/driver/pictureviewer/pictureviewer.cpp @@ -513,9 +513,6 @@ void CPictureViewer::getSize(const char* name, int* width, int *height) } } -#define LOGODIR ICONSDIR "/logo" -#define LOGODIR_VAR ICONSDIR_VAR "/logo" - bool CPictureViewer::GetLogoName(const uint64_t& channel_id, const std::string& ChannelName, std::string & name, int *width, int *height) { std::string fileType[] = { ".png", ".jpg" , ".gif" }; diff --git a/src/global.h b/src/global.h index aeccaef70..94e5a781c 100644 --- a/src/global.h +++ b/src/global.h @@ -52,6 +52,9 @@ #define PLUGINDIR_VAR "/var/tuxbox/plugins" #define PLUGINDIR_MNT "/mnt/plugins" +#define LOGODIR ICONSDIR "/logo" +#define LOGODIR_VAR ICONSDIR_VAR "/logo" + NEUTRINO_CPP SNeutrinoSettings g_settings; NEUTRINO_CPP SglobalInfo g_info;