diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-12 01:35:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-12 01:35:24 +0400 |
commit | c567cf3fab5b962a4166ef44f45c80941021b60d (patch) | |
tree | f3b257cdd6ec3c6241395ca2bb815cc82a428506 /source/blender/windowmanager/intern/wm_apple.c | |
parent | f2d06dc257ec9c4667fd9964243b032fed2d21c3 (diff) |
code cleanup: WM naming conventions
Diffstat (limited to 'source/blender/windowmanager/intern/wm_apple.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_apple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_apple.c b/source/blender/windowmanager/intern/wm_apple.c index 71d074e340f..a7bd43986dd 100644 --- a/source/blender/windowmanager/intern/wm_apple.c +++ b/source/blender/windowmanager/intern/wm_apple.c @@ -124,14 +124,14 @@ void wm_set_apple_prefsize(int scr_x, int scr_y) short top, left, bottom, right; getMacAvailableBounds(&top, &left, &bottom, &right); - WM_setprefsize(left + 10, scr_y - bottom + 10, right - left - 20, bottom - 64); + WM_init_state_size_set(left + 10, scr_y - bottom + 10, right - left - 20, bottom - 64); G.windowstate = 0; } else { /* 40 + 684 + (headers) 22 + 22 = 768, the powerbook screen height */ - WM_setprefsize(120, 40, 850, 684); + WM_init_state_size_set(120, 40, 850, 684); G.windowstate = 0; } } |