From 58d88f00a40d637b759b300ecc04640dfd08cb6a Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sat, 29 Nov 2025 22:04:23 +0000 Subject: [PATCH] now that's better git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@829 b9cfdab3-6d41-4d17-bbe4-086880011989 --- include/Mw/LowLevel/GDI.h | 2 ++ include/Mw/LowLevel/X11.h | 2 ++ src/core.c | 6 ------ 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/include/Mw/LowLevel/GDI.h b/include/Mw/LowLevel/GDI.h index a316779..4eeeb8d 100644 --- a/include/Mw/LowLevel/GDI.h +++ b/include/Mw/LowLevel/GDI.h @@ -38,4 +38,6 @@ struct _MwLLGDIPixmap { HBITMAP hMask2; }; +MWDECL int MwLLGDICallInit(void); + #endif diff --git a/include/Mw/LowLevel/X11.h b/include/Mw/LowLevel/X11.h index eef85ae..fde208e 100644 --- a/include/Mw/LowLevel/X11.h +++ b/include/Mw/LowLevel/X11.h @@ -68,4 +68,6 @@ struct _MwLLX11Pixmap { XImage* mask; }; +MWDECL int MwLLX11CallInit(void); + #endif diff --git a/src/core.c b/src/core.c index e0d1c34..77c6d9a 100644 --- a/src/core.c +++ b/src/core.c @@ -685,12 +685,6 @@ MwWidget MwGetParent(MwWidget handle) { } typedef int (*call_t)(void); -#ifdef USE_X11 -int MwLLX11CallInit(void); -#endif -#ifdef USE_GDI -int MwLLGDICallInit(void); -#endif int MwLibraryInit(void) { call_t calls[] = { #ifdef USE_X11