summaryrefslogtreecommitdiff
path: root/include/m_options.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-16 11:48:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-16 11:48:41 +0000
commitce6e5ab03d58151c4eda36d05a8436d337b2d3c0 (patch)
tree4743bda7441f8093cb0a31d4141e77cb5cfbc174 /include/m_options.h
parentf627d0bf7a1978a9b8360ada9c199ba9667977b1 (diff)
removed clutch for GCC (it already exists in m_system.h)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1575 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_options.h')
-rw-r--r--include/m_options.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/m_options.h b/include/m_options.h
index 2011127e3c..b2e01e957e 100644
--- a/include/m_options.h
+++ b/include/m_options.h
@@ -105,7 +105,7 @@ typedef struct {
#define PSM_ISEXPERT (WM_USER+101) //returns true/false
#define PSM_GETBOLDFONT (WM_USER+102) //returns HFONT used for group box titles
-__inline static INT_PTR Options_AddPage(WPARAM wParam, OPTIONSDIALOGPAGE* odp)
+__forceinline INT_PTR Options_AddPage(WPARAM wParam, OPTIONSDIALOGPAGE* odp)
{ odp->hLangpack = hLangpack;
return CallService("Opt/AddPage", wParam, (LPARAM)odp);
}
@@ -126,14 +126,14 @@ typedef struct {
}
OPENOPTIONSDIALOG;
-__inline static INT_PTR Options_Open(OPENOPTIONSDIALOG *ood)
+__forceinline INT_PTR Options_Open(OPENOPTIONSDIALOG *ood)
{
return CallService("Opt/OpenOptions", hLangpack, (LPARAM)ood);
}
//Opens the options dialog, with only specified page v0.8.0.x+
-__inline static HWND Options_OpenPage(OPENOPTIONSDIALOG *ood)
+__forceinline HWND Options_OpenPage(OPENOPTIONSDIALOG *ood)
{
return (HWND)CallService("Opt/OpenOptionsPage", hLangpack, (LPARAM)ood);
}