istereo2

diff src/uitheme.cc @ 9:64e15874f3bd

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 26 Sep 2015 02:56:07 +0300
parents 661bf09db398
children 2a0ef5efb8e2 03cc3b1884d1
line diff
     1.1 --- a/src/uitheme.cc	Thu Sep 24 07:09:37 2015 +0300
     1.2 +++ b/src/uitheme.cc	Sat Sep 26 02:56:07 2015 +0300
     1.3 @@ -2,6 +2,7 @@
     1.4  #include <string>
     1.5  #include "goatkit/goatkit.h"
     1.6  #include "opengl.h"
     1.7 +#include "sanegl.h"
     1.8  #include "drawtext.h"
     1.9  #include "sdr.h"
    1.10  
    1.11 @@ -26,8 +27,9 @@
    1.12  
    1.13  static std::map<std::string, WidgetDrawFunc> funcmap;
    1.14  
    1.15 -__attribute__ ((used))
    1.16 -extern "C" WidgetDrawFunc get_widget_func(const char *name)
    1.17 +
    1.18 +extern "C"// __attribute__ ((used))
    1.19 +WidgetDrawFunc get_widget_func(const char *name)
    1.20  {
    1.21  	static bool initialized;
    1.22  
    1.23 @@ -99,4 +101,4 @@
    1.24  	gl_pop_matrix();
    1.25  	gl_matrix_mode(GL_MODELVIEW);
    1.26  	gl_pop_matrix();
    1.27 -}
    1.28 \ No newline at end of file
    1.29 +}