From cefaa393e6c4e4bfd297efb12d435412be802849 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Mon, 22 Nov 2010 15:25:59 +0000 Subject: 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 --- Source/Core/Common/Src/Timer.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/Core/Common/Src/Timer.cpp') 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)); -- cgit v1.2.3