summaryrefslogtreecommitdiff
path: root/otk_c/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'otk_c/init.c')
-rw-r--r--otk_c/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/otk_c/init.c b/otk_c/init.c
index 5f576ac3..a958c4fe 100644
--- a/otk_c/init.c
+++ b/otk_c/init.c
@@ -5,6 +5,7 @@
#include "screeninfo.h"
#include "color.h"
#include "gccache.h"
+#include "font.h"
#include <X11/Xlib.h>
#include <Python.h>
@@ -21,10 +22,12 @@ void initotk(char *display)
OtkDisplay_Type.ob_type = &PyType_Type;
OtkScreenInfo_Type.ob_type = &PyType_Type;
OtkColor_Type.ob_type = &PyType_Type;
+ OtkFont_Type.ob_type = &PyType_Type;
Py_InitModule("otk", otk_methods);
OtkDisplay_Initialize(display);
assert(OBDisplay);
OtkGCCache_Initialize();
+ OtkFont_Initialize();
}