diff options
Diffstat (limited to 'src/commit2.c')
-rw-r--r-- | src/commit2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commit2.c b/src/commit2.c index 67e3889..4215ccc 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -124,6 +124,9 @@ main(int argc, char** argv) boolean disable_partial_commit = FALSE; boolean full_commit_check = FALSE; + /* this is needed before calling certain glib functions */ + g_type_init(); + //grab inputs while ((ch = getopt(argc, argv, "dpthsecoaf")) != -1) { switch (ch) { |