summaryrefslogtreecommitdiff
path: root/src/fr-command-arj.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:40:17 +0200
committerraveit65 <[email protected]>2021-12-11 15:59:33 +0100
commit6c55334ad9b03006686e2db6c6f6167677a2f510 (patch)
treeb558cc0ad6d97c36b449dbcb2afecb3b9002a565 /src/fr-command-arj.c
parent85909393571d91b3c267afe5341e54bfae5a6d50 (diff)
downloadengrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.bz2
engrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.xz
Use a blank line at most
Diffstat (limited to 'src/fr-command-arj.c')
-rw-r--r--src/fr-command-arj.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/fr-command-arj.c b/src/fr-command-arj.c
index a6f0f71..49aaf29 100644
--- a/src/fr-command-arj.c
+++ b/src/fr-command-arj.c
@@ -40,7 +40,6 @@ static void fr_command_arj_finalize (GObject *object);
static FrCommandClass *parent_class = NULL;
-
/* -- list -- */
static time_t
@@ -84,7 +83,6 @@ mktime_from_string (char *date_s,
return mktime (&tm);
}
-
static void
list__process_line (char *line,
gpointer data)
@@ -158,7 +156,6 @@ list__process_line (char *line,
arj_comm->line_no++;
}
-
static void
fr_command_arj_list (FrCommand *comm)
{
@@ -173,7 +170,6 @@ fr_command_arj_list (FrCommand *comm)
fr_process_start (comm->process);
}
-
static void
fr_command_arj_add (FrCommand *comm,
const char *from_file,
@@ -220,7 +216,6 @@ fr_command_arj_add (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
static void
fr_command_arj_delete (FrCommand *comm,
const char *from_file,
@@ -242,7 +237,6 @@ fr_command_arj_delete (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
static void
fr_command_arj_extract (FrCommand *comm,
const char *from_file,
@@ -287,7 +281,6 @@ fr_command_arj_extract (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
static void
fr_command_arj_test (FrCommand *comm)
{
@@ -302,7 +295,6 @@ fr_command_arj_test (FrCommand *comm)
fr_process_end_command (comm->process);
}
-
static void
fr_command_arj_handle_error (FrCommand *comm,
FrProcError *error)
@@ -315,17 +307,14 @@ fr_command_arj_handle_error (FrCommand *comm,
}
}
-
const char *arj_mime_type[] = { "application/x-arj", NULL };
-
static const char **
fr_command_arj_get_mime_types (FrCommand *comm)
{
return arj_mime_type;
}
-
static FrCommandCap
fr_command_arj_get_capabilities (FrCommand *comm,
const char *mime_type,
@@ -340,7 +329,6 @@ fr_command_arj_get_capabilities (FrCommand *comm,
return capabilities;
}
-
static const char *
fr_command_arj_get_packages (FrCommand *comm,
const char *mime_type)
@@ -348,7 +336,6 @@ fr_command_arj_get_packages (FrCommand *comm,
return PACKAGES ("arj");
}
-
static void
fr_command_arj_class_init (FrCommandArjClass *class)
{
@@ -371,7 +358,6 @@ fr_command_arj_class_init (FrCommandArjClass *class)
afc->get_packages = fr_command_arj_get_packages;
}
-
static void
fr_command_arj_init (FrCommand *comm)
{
@@ -392,7 +378,6 @@ fr_command_arj_init (FrCommand *comm)
arj_comm->filename_line_regex = g_regex_new ("[0-9]+\\) ", G_REGEX_OPTIMIZE, 0, NULL);
}
-
static void
fr_command_arj_finalize (GObject *object)
{
@@ -409,7 +394,6 @@ fr_command_arj_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-
GType
fr_command_arj_get_type ()
{