summaryrefslogtreecommitdiff
path: root/src/fr-command-rpm.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-rpm.c
parent85909393571d91b3c267afe5341e54bfae5a6d50 (diff)
downloadengrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.bz2
engrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.xz
Use a blank line at most
Diffstat (limited to 'src/fr-command-rpm.c')
-rw-r--r--src/fr-command-rpm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fr-command-rpm.c b/src/fr-command-rpm.c
index 5fff8d7..2d81fc1 100644
--- a/src/fr-command-rpm.c
+++ b/src/fr-command-rpm.c
@@ -41,7 +41,6 @@ static void fr_command_rpm_finalize (GObject *object);
static FrCommandClass *parent_class = NULL;
-
/* -- list -- */
static time_t
@@ -95,7 +94,6 @@ mktime_from_string (char *month,
return mktime (&tm);
}
-
static void
list__process_line (char *line,
gpointer data)
@@ -179,7 +177,6 @@ list__process_line (char *line,
fr_command_add_file (comm, fdata);
}
-
static void
fr_command_rpm_list (FrCommand *comm)
{
@@ -192,7 +189,6 @@ fr_command_rpm_list (FrCommand *comm)
fr_process_start (comm->process);
}
-
static void
fr_command_rpm_extract (FrCommand *comm,
const char *from_file,
@@ -225,17 +221,14 @@ fr_command_rpm_extract (FrCommand *comm,
fr_process_end_command (comm->process);
}
-
const char *rpm_mime_type[] = { "application/x-rpm", NULL };
-
static const char **
fr_command_rpm_get_mime_types (FrCommand *comm)
{
return rpm_mime_type;
}
-
static FrCommandCap
fr_command_rpm_get_capabilities (FrCommand *comm,
const char *mime_type,
@@ -251,7 +244,6 @@ fr_command_rpm_get_capabilities (FrCommand *comm,
return capabilities;
}
-
static const char *
fr_command_rpm_get_packages (FrCommand *comm,
const char *mime_type)
@@ -259,7 +251,6 @@ fr_command_rpm_get_packages (FrCommand *comm,
return PACKAGES ("cpio,rpm");
}
-
static void
fr_command_rpm_class_init (FrCommandRpmClass *class)
{
@@ -278,7 +269,6 @@ fr_command_rpm_class_init (FrCommandRpmClass *class)
afc->get_packages = fr_command_rpm_get_packages;
}
-
static void
fr_command_rpm_init (FrCommand *comm)
{
@@ -291,7 +281,6 @@ fr_command_rpm_init (FrCommand *comm)
comm->propTest = FALSE;
}
-
static void
fr_command_rpm_finalize (GObject *object)
{
@@ -303,7 +292,6 @@ fr_command_rpm_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-
GType
fr_command_rpm_get_type ()
{