summaryrefslogtreecommitdiff
path: root/src/fr-command-unarchiver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-unarchiver.c')
-rw-r--r--src/fr-command-unarchiver.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
index 0a40e6b..7518fb5 100644
--- a/src/fr-command-unarchiver.c
+++ b/src/fr-command-unarchiver.c
@@ -46,10 +46,8 @@ static void fr_command_unarchiver_finalize (GObject *object);
static FrCommandClass *parent_class = NULL;
-
/* -- list -- */
-
static void
process_line (char *line,
gpointer data)
@@ -58,7 +56,6 @@ process_line (char *line,
g_memory_input_stream_add_data (G_MEMORY_INPUT_STREAM (unar_comm->stream), line, -1, NULL);
}
-
static time_t
mktime_from_string (const char *time_s)
{
@@ -125,7 +122,6 @@ list_command_completed (gpointer data)
g_object_unref (parser);
}
-
static void
fr_command_unarchiver_list (FrCommand *comm)
{
@@ -147,7 +143,6 @@ fr_command_unarchiver_list (FrCommand *comm)
fr_process_start (comm->process);
}
-
static void
process_line__extract (char *line,
gpointer data)
@@ -172,7 +167,6 @@ process_line__extract (char *line,
fr_command_message (comm, line);
}
-
static void
fr_command_unarchiver_extract (FrCommand *comm,
const char *from_file,
@@ -220,7 +214,6 @@ fr_command_unarchiver_extract (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
static void
fr_command_unarchiver_handle_error (FrCommand *comm,
FrProcError *error)
@@ -251,20 +244,17 @@ fr_command_unarchiver_handle_error (FrCommand *comm,
}
}
-
const char *unarchiver_mime_type[] = { "application/zip",
"application/x-cbr",
"application/x-rar",
NULL };
-
static const char **
fr_command_unarchiver_get_mime_types (FrCommand *comm)
{
return unarchiver_mime_type;
}
-
static FrCommandCap
fr_command_unarchiver_get_capabilities (FrCommand *comm,
const char *mime_type,
@@ -279,7 +269,6 @@ fr_command_unarchiver_get_capabilities (FrCommand *comm,
return capabilities;
}
-
static const char *
fr_command_unarchiver_get_packages (FrCommand *comm,
const char *mime_type)
@@ -287,7 +276,6 @@ fr_command_unarchiver_get_packages (FrCommand *comm,
return PACKAGES ("unarchiver");
}
-
static void
fr_command_unarchiver_class_init (FrCommandUnarchiverClass *class)
{
@@ -307,7 +295,6 @@ fr_command_unarchiver_class_init (FrCommandUnarchiverClass *class)
afc->get_packages = fr_command_unarchiver_get_packages;
}
-
static void
fr_command_unarchiver_init (FrCommand *comm)
{
@@ -324,7 +311,6 @@ fr_command_unarchiver_init (FrCommand *comm)
unar_comm->stream = NULL;
}
-
static void
fr_command_unarchiver_finalize (GObject *object)
{
@@ -341,7 +327,6 @@ fr_command_unarchiver_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-
GType
fr_command_unarchiver_get_type ()
{