summaryrefslogtreecommitdiff
path: root/src/fr-command-zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-zip.c')
-rw-r--r--src/fr-command-zip.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/fr-command-zip.c b/src/fr-command-zip.c
index 9469e91..2d82c37 100644
--- a/src/fr-command-zip.c
+++ b/src/fr-command-zip.c
@@ -44,7 +44,6 @@ static void fr_command_zip_finalize (GObject *object);
static FrCommandClass *parent_class = NULL;
-
/* -- list -- */
static time_t
@@ -91,7 +90,6 @@ mktime_from_string (char *datetime_s)
return mktime (&tm);
}
-
static void
list__process_line (char *line,
gpointer data)
@@ -161,7 +159,6 @@ list__process_line (char *line,
fr_command_add_file (comm, fdata);
}
-
static void
add_password_arg (FrCommand *comm,
const char *password)
@@ -172,7 +169,6 @@ add_password_arg (FrCommand *comm,
}
}
-
static void
list__begin (gpointer data)
{
@@ -181,7 +177,6 @@ list__begin (gpointer data)
comm->is_empty = FALSE;
}
-
static void
fr_command_zip_list (FrCommand *comm)
{
@@ -196,7 +191,6 @@ fr_command_zip_list (FrCommand *comm)
fr_process_start (comm->process);
}
-
static void
process_line__common (char *line,
gpointer data)
@@ -214,7 +208,6 @@ process_line__common (char *line,
fr_command_message (comm, line);
}
-
static void
fr_command_zip_add (FrCommand *comm,
const char *from_file,
@@ -262,7 +255,6 @@ fr_command_zip_add (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
static void
fr_command_zip_delete (FrCommand *comm,
const char *from_file,
@@ -291,7 +283,6 @@ fr_command_zip_delete (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
static void
fr_command_zip_extract (FrCommand *comm,
const char *from_file,
@@ -337,7 +328,6 @@ fr_command_zip_extract (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
static void
fr_command_zip_test (FrCommand *comm)
{
@@ -349,7 +339,6 @@ fr_command_zip_test (FrCommand *comm)
fr_process_end_command (comm->process);
}
-
static void
fr_command_zip_handle_error (FrCommand *comm,
FrProcError *error)
@@ -380,7 +369,6 @@ fr_command_zip_handle_error (FrCommand *comm,
}
}
-
const char *zip_mime_type[] = {
"application/epub+zip",
"application/vnd.oasis.opendocument.presentation",
@@ -396,7 +384,6 @@ const char *zip_mime_type[] = {
"application/zip", /* zip always at the end and the number of */
NULL }; /* place in fr_command_zip_get_mime_types */
-
static const char **
fr_command_zip_get_mime_types (FrCommand *comm)
{
@@ -414,7 +401,6 @@ fr_command_zip_get_mime_types (FrCommand *comm)
return zip_mime_type;
}
-
static FrCommandCap
fr_command_zip_get_capabilities (FrCommand *comm,
const char *mime_type,
@@ -435,7 +421,6 @@ fr_command_zip_get_capabilities (FrCommand *comm,
return capabilities;
}
-
static const char *
fr_command_zip_get_packages (FrCommand *comm,
const char *mime_type)
@@ -443,7 +428,6 @@ fr_command_zip_get_packages (FrCommand *comm,
return PACKAGES ("zip,unzip");
}
-
static void
fr_command_zip_class_init (FrCommandZipClass *class)
{
@@ -466,7 +450,6 @@ fr_command_zip_class_init (FrCommandZipClass *class)
afc->get_packages = fr_command_zip_get_packages;
}
-
static void
fr_command_zip_init (FrCommand *comm)
{
@@ -482,7 +465,6 @@ fr_command_zip_init (FrCommand *comm)
FR_COMMAND_ZIP (comm)->is_empty = FALSE;
}
-
static void
fr_command_zip_finalize (GObject *object)
{
@@ -494,7 +476,6 @@ fr_command_zip_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-
GType
fr_command_zip_get_type ()
{