diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commit2.cpp | 4 | ||||
-rw-r--r-- | src/dump_session.c | 2 | ||||
-rw-r--r-- | src/exe_action.c | 2 | ||||
-rw-r--r-- | src/priority.c | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/src/commit2.cpp b/src/commit2.cpp index be51069..ceee986 100644 --- a/src/commit2.cpp +++ b/src/commit2.cpp @@ -5,7 +5,7 @@ #include <syslog.h> #include <string.h> #include <sys/time.h> -#include <glib-2.0/glib.h> +#include <glib-object.h> /* g_type_init */ #include "common/common.h" #include "cli_path_utils.h" @@ -29,8 +29,6 @@ boolean g_old_print_output = FALSE; #define g_num_actions 5 -extern "C" void g_type_init(); - // this uses the vtw_act_type enum const int ActionOrder[g_num_actions] = { begin_act, diff --git a/src/dump_session.c b/src/dump_session.c index 5a3a73e..040a270 100644 --- a/src/dump_session.c +++ b/src/dump_session.c @@ -1,7 +1,7 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> -#include <glib-2.0/glib.h> +#include <glib-object.h> /* g_type_init */ #include "common/common.h" boolean g_debug = FALSE; diff --git a/src/exe_action.c b/src/exe_action.c index 752a1d9..6aa3fe4 100644 --- a/src/exe_action.c +++ b/src/exe_action.c @@ -4,7 +4,7 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> -#include <glib-2.0/glib.h> +#include <glib-object.h> /* g_type_init */ #include "common/common.h" boolean g_debug = FALSE; diff --git a/src/priority.c b/src/priority.c index cb40b9a..72209b6 100644 --- a/src/priority.c +++ b/src/priority.c @@ -5,7 +5,7 @@ #include <dirent.h> #include <sys/time.h> #include <string.h> - +#include <glib-object.h> /* g_type_init */ void recurse(char *cur_dir,FILE *out); |