diff options
author | rbuj <[email protected]> | 2021-10-27 17:40:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-11 15:59:33 +0100 |
commit | 6c55334ad9b03006686e2db6c6f6167677a2f510 (patch) | |
tree | b558cc0ad6d97c36b449dbcb2afecb3b9002a565 /src/fr-command-alz.c | |
parent | 85909393571d91b3c267afe5341e54bfae5a6d50 (diff) | |
download | engrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.bz2 engrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.xz |
Use a blank line at most
Diffstat (limited to 'src/fr-command-alz.c')
-rw-r--r-- | src/fr-command-alz.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/fr-command-alz.c b/src/fr-command-alz.c index e119dfe..d67c362 100644 --- a/src/fr-command-alz.c +++ b/src/fr-command-alz.c @@ -41,10 +41,8 @@ static void fr_command_alz_finalize (GObject *object); static FrCommandClass *parent_class = NULL; - /* -- list -- */ - static time_t mktime_from_string (char *date_s, char *time_s) @@ -78,7 +76,6 @@ mktime_from_string (char *date_s, return mktime (&tm); } - static void process_line (char *line, gpointer data) @@ -93,7 +90,6 @@ process_line (char *line, g_return_if_fail (line != NULL); - if (! alz_comm->list_started) { if (strncmp (line, "-----", 5 ) == 0 ) alz_comm->list_started = TRUE; @@ -156,7 +152,6 @@ process_line (char *line, g_strfreev (fields); } - static void add_codepage_arg (FrCommand *comm) { @@ -182,7 +177,6 @@ add_codepage_arg (FrCommand *comm) fr_process_add_arg (comm->process, arg); } - static void add_password_arg (FrCommand *comm, const char *password, @@ -198,7 +192,6 @@ add_password_arg (FrCommand *comm, } } - static void list__begin (gpointer data) { @@ -208,7 +201,6 @@ list__begin (gpointer data) comm->invalid_password = FALSE; } - static void fr_command_alz_list (FrCommand *comm) { @@ -224,7 +216,6 @@ fr_command_alz_list (FrCommand *comm) fr_process_start (comm->process); } - /* -- extract -- */ static void @@ -253,7 +244,6 @@ process_extract_line (char *line, } } - static void fr_command_alz_extract (FrCommand *comm, const char *from_file, @@ -284,7 +274,6 @@ fr_command_alz_extract (FrCommand *comm, fr_process_end_command (comm->process); } - static void fr_command_alz_handle_error (FrCommand *comm, FrProcError *error) @@ -297,17 +286,14 @@ fr_command_alz_handle_error (FrCommand *comm, } } - const char *alz_mime_type[] = { "application/x-alz", NULL }; - static const char ** fr_command_alz_get_mime_types (FrCommand *comm) { return alz_mime_type; } - static FrCommandCap fr_command_alz_get_capabilities (FrCommand *comm, const char *mime_type, @@ -322,7 +308,6 @@ fr_command_alz_get_capabilities (FrCommand *comm, return capabilities; } - static const char * fr_command_alz_get_packages (FrCommand *comm, const char *mime_type) @@ -330,7 +315,6 @@ fr_command_alz_get_packages (FrCommand *comm, return PACKAGES ("unalz"); } - static void fr_command_alz_class_init (FrCommandAlzClass *class) { @@ -352,7 +336,6 @@ fr_command_alz_class_init (FrCommandAlzClass *class) afc->get_packages = fr_command_alz_get_packages; } - static void fr_command_alz_init (FrCommand *comm) { @@ -365,7 +348,6 @@ fr_command_alz_init (FrCommand *comm) comm->propTest = FALSE; } - static void fr_command_alz_finalize (GObject *object) { @@ -377,7 +359,6 @@ fr_command_alz_finalize (GObject *object) G_OBJECT_CLASS (parent_class)->finalize (object); } - GType fr_command_alz_get_type () { |