summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-08-01 02:21:26 -0700
committerStefano Karapetsas <[email protected]>2013-08-01 02:21:26 -0700
commit0f9758bfdedfd0c5a67a795f421cfbc2d07f0f6c (patch)
tree535de2c25c9ce09543174644ae8cebf48b6cf032 /src/main.c
parent472e1e834bc1033c1ec8f0f88250460e138fbf35 (diff)
parentac5d3248257e9e1ddbf57ca5828a1de165d445a4 (diff)
downloadengrampa-0f9758bfdedfd0c5a67a795f421cfbc2d07f0f6c.tar.bz2
engrampa-0f9758bfdedfd0c5a67a795f421cfbc2d07f0f6c.tar.xz
Merge pull request #21 from infirit/unarchiver
Add unarchiver support
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 898547d..bbcaa31 100644
--- a/src/main.c
+++ b/src/main.c
@@ -42,6 +42,9 @@
#include "fr-command-rar.h"
#include "fr-command-rpm.h"
#include "fr-command-tar.h"
+#if HAVE_JSON_GLIB
+ #include "fr-command-unarchiver.h"
+#endif
#include "fr-command-unstuff.h"
#include "fr-command-zip.h"
#include "fr-command-zoo.h"
@@ -545,6 +548,9 @@ register_commands (void)
register_command (FR_TYPE_COMMAND_ZIP);
register_command (FR_TYPE_COMMAND_LRZIP);
register_command (FR_TYPE_COMMAND_ZOO);
+#if HAVE_JSON_GLIB
+ register_command (FR_TYPE_COMMAND_UNARCHIVER);
+#endif
}