summaryrefslogtreecommitdiff
path: root/new/newcontrol_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-07 12:17:05 -0400
committerPietro Gagliardi <[email protected]>2015-04-07 12:17:05 -0400
commit698a0e5c742575f91c27eb92a739ab63300f3cce (patch)
tree1c3aee8ee0ee34e8b79c4cf99ba1fb3d47578bc4 /new/newcontrol_windows.c
parent32c6555fc0e8e9c80a646f34905caa6394776605 (diff)
Added the new native control code to the GTK+ backend. Fixed some missing statics in the Windows one too.
Diffstat (limited to 'new/newcontrol_windows.c')
-rw-r--r--new/newcontrol_windows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/new/newcontrol_windows.c b/new/newcontrol_windows.c
index c26cbab..a7288f7 100644
--- a/new/newcontrol_windows.c
+++ b/new/newcontrol_windows.c
@@ -20,13 +20,13 @@ static uintptr_t singleHandle(uiControl *c)
return (uintptr_t) (S(c)->hwnd);
}
-void singleSetParent(uiControl *c, uintptr_t parentHWND)
+static void singleSetParent(uiControl *c, uintptr_t parentHWND)
{
if (SetParent(S(c)->hwnd, (HWND) parentHWND) == NULL)
logLastError("error changing control parent in singleSetParent()");
}
-uiSize singlePreferredSize(uiControl *c, uiSizing *d)
+static uiSize singlePreferredSize(uiControl *c, uiSizing *d)
{
uiSize size;