diff options
Diffstat (limited to 'src/commit2.cpp')
-rw-r--r-- | src/commit2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commit2.cpp b/src/commit2.cpp index ceee986..4594d08 100644 --- a/src/commit2.cpp +++ b/src/commit2.cpp @@ -159,7 +159,9 @@ main(int argc, char** argv) char *commit_comment = NULL; /* this is needed before calling certain glib functions */ + #if !GLIB_CHECK_VERSION(2,35,0) g_type_init(); + #endif //grab inputs while ((ch = getopt(argc, argv, "xdpthsecoafb:rlC:")) != -1) { |