Add eek_init().
This commit is contained in:
14
eek/eek.c
Normal file
14
eek/eek.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include "eek.h"
|
||||
|
||||
void
|
||||
eek_init (void)
|
||||
{
|
||||
g_type_init ();
|
||||
|
||||
/* preload Eek* types for EekKeyboard deserialization */
|
||||
g_type_class_ref (EEK_TYPE_KEYBOARD);
|
||||
g_type_class_ref (EEK_TYPE_SECTION);
|
||||
g_type_class_ref (EEK_TYPE_KEY);
|
||||
g_type_class_ref (EEK_TYPE_SYMBOL);
|
||||
g_type_class_ref (EEK_TYPE_KEYSYM);
|
||||
}
|
||||
Reference in New Issue
Block a user