summaryrefslogtreecommitdiff
path: root/src/fr-command-ace.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-ace.c
parent85909393571d91b3c267afe5341e54bfae5a6d50 (diff)
downloadengrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.bz2
engrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.xz
Use a blank line at most
Diffstat (limited to 'src/fr-command-ace.c')
-rw-r--r--src/fr-command-ace.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/fr-command-ace.c b/src/fr-command-ace.c
index 5e36819..90bc152 100644
--- a/src/fr-command-ace.c
+++ b/src/fr-command-ace.c
@@ -40,10 +40,8 @@ static void fr_command_ace_finalize (GObject *object);
static FrCommandClass *parent_class = NULL;
-
/* -- list -- */
-
static time_t
mktime_from_string (char *date,
char *time)
@@ -85,7 +83,6 @@ mktime_from_string (char *date,
return mktime (&tm);
}
-
static void
process_line (char *line,
gpointer data)
@@ -164,7 +161,6 @@ process_line (char *line,
fr_command_add_file (comm, fdata);
}
-
static void
list__begin (gpointer data)
{
@@ -174,7 +170,6 @@ list__begin (gpointer data)
comm->command_type = FR_ACE_COMMAND_UNKNOWN;
}
-
static void
fr_command_ace_list (FrCommand *comm)
{
@@ -189,7 +184,6 @@ fr_command_ace_list (FrCommand *comm)
fr_process_start (comm->process);
}
-
static void
fr_command_ace_extract (FrCommand *comm,
const char *from_file,
@@ -219,7 +213,6 @@ fr_command_ace_extract (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
static void
fr_command_ace_test (FrCommand *comm)
{
@@ -230,7 +223,6 @@ fr_command_ace_test (FrCommand *comm)
fr_process_end_command (comm->process);
}
-
static void
fr_command_ace_handle_error (FrCommand *comm,
FrProcError *error)
@@ -238,17 +230,14 @@ fr_command_ace_handle_error (FrCommand *comm,
/* FIXME */
}
-
const char *ace_mime_type[] = { "application/x-ace", NULL };
-
static const char **
fr_command_ace_get_mime_types (FrCommand *comm)
{
return ace_mime_type;
}
-
static FrCommandCap
fr_command_ace_get_capabilities (FrCommand *comm,
const char *mime_type,
@@ -263,7 +252,6 @@ fr_command_ace_get_capabilities (FrCommand *comm,
return capabilities;
}
-
static const char *
fr_command_ace_get_packages (FrCommand *comm,
const char *mime_type)
@@ -271,7 +259,6 @@ fr_command_ace_get_packages (FrCommand *comm,
return PACKAGES ("unace");
}
-
static void
fr_command_ace_class_init (FrCommandAceClass *class)
{
@@ -292,7 +279,6 @@ fr_command_ace_class_init (FrCommandAceClass *class)
afc->get_packages = fr_command_ace_get_packages;
}
-
static void
fr_command_ace_init (FrCommand *comm)
{
@@ -305,7 +291,6 @@ fr_command_ace_init (FrCommand *comm)
comm->propTest = TRUE;
}
-
static void
fr_command_ace_finalize (GObject *object)
{
@@ -317,7 +302,6 @@ fr_command_ace_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-
GType
fr_command_ace_get_type ()
{