summaryrefslogtreecommitdiff
path: root/src/programs
diff options
context:
space:
mode:
Diffstat (limited to 'src/programs')
-rw-r--r--src/programs/pkaction.c2
-rw-r--r--src/programs/pkcheck.c2
-rw-r--r--src/programs/pkexec.c5
-rw-r--r--src/programs/pkttyagent.c2
4 files changed, 0 insertions, 11 deletions
diff --git a/src/programs/pkaction.c b/src/programs/pkaction.c
index 221662a..6dd6877 100644
--- a/src/programs/pkaction.c
+++ b/src/programs/pkaction.c
@@ -125,8 +125,6 @@ main (int argc, char *argv[])
/* Disable remote file access from GIO. */
setenv ("GIO_USE_VFS", "local", 1);
- g_type_init ();
-
opt_show_version = FALSE;
opt_verbose = FALSE;
diff --git a/src/programs/pkcheck.c b/src/programs/pkcheck.c
index 33db128..f1bb4e1 100644
--- a/src/programs/pkcheck.c
+++ b/src/programs/pkcheck.c
@@ -366,8 +366,6 @@ main (int argc, char *argv[])
/* Disable remote file access from GIO. */
setenv ("GIO_USE_VFS", "local", 1);
- g_type_init ();
-
details = polkit_details_new ();
opt_show_help = FALSE;
diff --git a/src/programs/pkexec.c b/src/programs/pkexec.c
index 3b29b24..32c204d 100644
--- a/src/programs/pkexec.c
+++ b/src/programs/pkexec.c
@@ -707,11 +707,6 @@ main (int argc, char *argv[])
goto out;
}
- /* Initialize the GLib type system - this is needed to interact with the
- * PolicyKit daemon
- */
- g_type_init ();
-
/* make sure we are nuked if the parent process dies */
#ifdef __linux__
if (prctl (PR_SET_PDEATHSIG, SIGTERM) != 0)
diff --git a/src/programs/pkttyagent.c b/src/programs/pkttyagent.c
index 533f4a8..bfe00bd 100644
--- a/src/programs/pkttyagent.c
+++ b/src/programs/pkttyagent.c
@@ -78,8 +78,6 @@ main (int argc, char *argv[])
/* Disable remote file access from GIO. */
setenv ("GIO_USE_VFS", "local", 1);
- g_type_init ();
-
error = NULL;
context = g_option_context_new ("");
s = g_strdup_printf (_("Report bugs to: %s\n"