summaryrefslogtreecommitdiff
path: root/src/core/stduserinfo/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stduserinfo/main.cpp')
-rw-r--r--src/core/stduserinfo/main.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/stduserinfo/main.cpp b/src/core/stduserinfo/main.cpp
index f75fb42bc6..8dcbe30b17 100644
--- a/src/core/stduserinfo/main.cpp
+++ b/src/core/stduserinfo/main.cpp
@@ -28,8 +28,6 @@ TIME_API tmi;
HINSTANCE hInst;
int hLangpack;
-pfnEnableThemeDialogTexture enableThemeDialogTexture;
-
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
@@ -63,12 +61,6 @@ extern "C" int __declspec(dllexport) Load(void)
mir_getTMI(&tmi);
mir_getCLI();
- if ( IsWinVerXPPlus()) {
- HINSTANCE hThemeAPI = LoadLibraryA("uxtheme.dll");
- if (hThemeAPI)
- enableThemeDialogTexture = (pfnEnableThemeDialogTexture)GetProcAddress(hThemeAPI, "EnableThemeDialogTexture");
- }
-
LoadUserInfoModule();
return 0;
}