diff options
Diffstat (limited to 'src/priority.c')
-rw-r--r-- | src/priority.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/priority.c b/src/priority.c index 60388e8..cb40b9a 100644 --- a/src/priority.c +++ b/src/priority.c @@ -32,6 +32,9 @@ main(int argc, char** argv) int ch; char *filename = NULL; + /* this is needed before calling certain glib functions */ + g_type_init(); + //grab inputs while ((ch = getopt(argc, argv, "hf:")) != -1) { switch (ch) { |