diff options
Diffstat (limited to 'src/fr-command-jar.c')
-rw-r--r-- | src/fr-command-jar.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fr-command-jar.c b/src/fr-command-jar.c index 03e7cd9..d5d1936 100644 --- a/src/fr-command-jar.c +++ b/src/fr-command-jar.c @@ -31,7 +31,6 @@ #include "fr-command-jar.h" #include "java-utils.h" - typedef struct { char *filename; char *rel_path; @@ -39,15 +38,12 @@ typedef struct { char *link_name; /* package dir = package_minus_one_level + '/' + link_name */ } JarData; - static void fr_command_jar_class_init (FrCommandJarClass *class); static void fr_command_jar_init (FrCommand *afile); static void fr_command_jar_finalize (GObject *object); - static FrCommandClass *parent_class = NULL; - static void fr_command_jar_add (FrCommand *comm, const char *from_file, @@ -145,18 +141,15 @@ fr_command_jar_add (FrCommand *comm, g_free (tmp_dir); } - const char *jar_mime_type[] = { "application/x-java-archive", NULL }; - static const char ** fr_command_jar_get_mime_types (FrCommand *comm) { return jar_mime_type; } - static FrCommandCap fr_command_jar_get_capabilities (FrCommand *comm, const char *mime_type, @@ -171,7 +164,6 @@ fr_command_jar_get_capabilities (FrCommand *comm, return capabilities; } - static const char * fr_command_jar_get_packages (FrCommand *comm, const char *mime_type) @@ -179,7 +171,6 @@ fr_command_jar_get_packages (FrCommand *comm, return PACKAGES ("zip,unzip"); } - static void fr_command_jar_class_init (FrCommandJarClass *class) { @@ -196,13 +187,11 @@ fr_command_jar_class_init (FrCommandJarClass *class) afc->get_packages = fr_command_jar_get_packages; } - static void fr_command_jar_init (FrCommand *comm) { } - static void fr_command_jar_finalize (GObject *object) { @@ -214,7 +203,6 @@ fr_command_jar_finalize (GObject *object) G_OBJECT_CLASS (parent_class)->finalize (object); } - GType fr_command_jar_get_type () { |