Add eek_init().
This commit is contained in:
@ -54,6 +54,7 @@ libeek_private_headers = \
|
||||
$(srcdir)/eek-theme-node.h
|
||||
|
||||
libeek_sources = \
|
||||
$(srcdir)/eek.c \
|
||||
$(srcdir)/eek-layout.c \
|
||||
$(srcdir)/eek-element.c \
|
||||
$(srcdir)/eek-container.c \
|
||||
|
||||
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