istereo2

diff src/uitheme.cc @ 8:661bf09db398

- replaced Quartz timer with cross-platform timer code - protected goatkit builtin theme function from being optimized out
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 24 Sep 2015 07:09:37 +0300
parents a3c4fcc9f8f3
children 64e15874f3bd
line diff
     1.1 --- a/src/uitheme.cc	Thu Sep 24 06:49:25 2015 +0300
     1.2 +++ b/src/uitheme.cc	Thu Sep 24 07:09:37 2015 +0300
     1.3 @@ -26,6 +26,7 @@
     1.4  
     1.5  static std::map<std::string, WidgetDrawFunc> funcmap;
     1.6  
     1.7 +__attribute__ ((used))
     1.8  extern "C" WidgetDrawFunc get_widget_func(const char *name)
     1.9  {
    1.10  	static bool initialized;