summaryrefslogtreecommitdiff
path: root/src/delete.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/delete.c')
-rw-r--r--src/delete.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/delete.c b/src/delete.c
index 3011c12..f432934 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -148,6 +148,9 @@ int main(int argc, char **argv)
char *cp, *delp, *endp;
boolean do_umount;
+ /* this is needed before calling certain glib functions */
+ g_type_init();
+
cli_operation_name = "Delete";
if (initialize_output() == -1) {