summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 3d829ce..1b2ae12 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -67,6 +67,19 @@ init_xinerama(void)
#endif /* HAVE_LIBXINERAMA */
void
+init_imlib_fonts(void)
+{
+ D_ENTER(4);
+
+ /* Set up the font stuff */
+ imlib_add_path_to_font_path(".");
+ imlib_add_path_to_font_path(PREFIX "/share/feh/fonts");
+ imlib_add_path_to_font_path("./ttfonts");
+
+ D_RETURN_(4);
+}
+
+void
init_x_and_imlib(void)
{
D_ENTER(4);
@@ -96,11 +109,6 @@ init_x_and_imlib(void)
/* Initialise random numbers */
srand(getpid() * time(NULL) % ((unsigned int) -1));
- /* Set up the font stuff */
- imlib_add_path_to_font_path(".");
- imlib_add_path_to_font_path(PREFIX "/share/feh/fonts");
- imlib_add_path_to_font_path("./ttfonts");
-
D_RETURN_(4);
}