diff options
Diffstat (limited to 'src/exe_action.c')
-rw-r--r-- | src/exe_action.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exe_action.c b/src/exe_action.c index 200ec2d..ee884c3 100644 --- a/src/exe_action.c +++ b/src/exe_action.c @@ -49,6 +49,9 @@ main(int argc, char** argv) char *path = NULL; unsigned long act = 0; + /* this is needed before calling certain glib functions */ + g_type_init(); + //grab inputs while ((ch = getopt(argc, argv, "dhp:a:")) != -1) { switch (ch) { |