summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-06-30 10:24:17 +0200
committerinfirit <[email protected]>2013-06-30 10:24:17 +0200
commitac5d3248257e9e1ddbf57ca5828a1de165d445a4 (patch)
tree1e2bf6455574395b84a2010595d05a13ff100b6b /src/main.c
parentc36eeddc49f116d5d860f2cd13eb94996489f70b (diff)
downloadengrampa-ac5d3248257e9e1ddbf57ca5828a1de165d445a4.tar.bz2
engrampa-ac5d3248257e9e1ddbf57ca5828a1de165d445a4.tar.xz
Add unachiver support
Based on the following commits from file-roller, https://git.gnome.org/browse/file-roller/commit/?id=2575177ac037d2a8d8f3056b10685928d80d6275 https://git.gnome.org/browse/file-roller/commit/?id=f26caa6d5b76d406976ea78630fbaae4c8126a2e
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
}