diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-11-22 15:25:59 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-11-22 15:25:59 +0000 |
| commit | cefaa393e6c4e4bfd297efb12d435412be802849 (patch) | |
| tree | 74066c9ec80ed2f4b34e3fb866cc7c6dcc274792 /Source/Core/Common/Src/Timer.cpp | |
| parent | 3ebd09efc97a3631872953f34c68730010813060 (diff) | |
Layout should not be called until after a sizer is inserted into its parent. This fixes the "gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17" type console warnings that are annoying on linux. If there are issues with this on other platforms let me know, but there shouldn't be.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6459 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/Timer.cpp')
| -rw-r--r-- | Source/Core/Common/Src/Timer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/Timer.cpp b/Source/Core/Common/Src/Timer.cpp index bfa7fc7536..087f8fcead 100644 --- a/Source/Core/Common/Src/Timer.cpp +++ b/Source/Core/Common/Src/Timer.cpp @@ -37,7 +37,6 @@ u32 Timer::GetTimeMs() #ifdef _WIN32 return timeGetTime(); #else - printf("using gettimeofday\n"); struct timeval t; (void)gettimeofday(&t, NULL); return ((u32)(t.tv_sec * 1000 + t.tv_usec / 1000)); |
