summaryrefslogtreecommitdiff
path: root/src/dump_session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dump_session.c')
-rw-r--r--src/dump_session.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dump_session.c b/src/dump_session.c
index d6b85cf..db54927 100644
--- a/src/dump_session.c
+++ b/src/dump_session.c
@@ -45,6 +45,10 @@ int
main(int argc, char** argv)
{
int ch;
+
+ /* this is needed before calling certain glib functions */
+ g_type_init();
+
//grab inputs
while ((ch = getopt(argc, argv, "dvh")) != -1) {
switch (ch) {