Move quark initialization to a constructor

This removes a branch from the very frequently called
quark functions.
This commit is contained in:
Matthias Clasen
2015-09-11 23:59:27 -04:00
parent 627854fee1
commit 2fe992b099
3 changed files with 17 additions and 12 deletions

View File

@@ -25,6 +25,8 @@
extern GLogLevelFlags g_log_always_fatal;
extern GLogLevelFlags g_log_msg_prefix;
void g_quark_init (void);
#ifdef G_OS_WIN32
#include <windows.h>