[file-roller: 14/123] make uncompress and compress void function as default implementation
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 14/123] make uncompress and compress void function as default implementation
- Date: Mon, 6 Aug 2012 13:42:02 +0000 (UTC)
commit 41727b8c1868a8a0ea228995af041a81d1a8df93
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Jul 18 10:21:18 2012 +0200
make uncompress and compress void function as default implementation
src/fr-command.c | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/src/fr-command.c b/src/fr-command.c
index cab959c..789d86e 100644
--- a/src/fr-command.c
+++ b/src/fr-command.c
@@ -3237,6 +3237,20 @@ fr_command_update_open_files (FrArchive *archive,
static void
+fr_command_base_uncompress (FrCommand *command)
+{
+ /* void */
+}
+
+
+static void
+fr_command_base_recompress (FrCommand *command)
+{
+ /* void */
+}
+
+
+static void
fr_command_class_init (FrCommandClass *klass)
{
GObjectClass *gobject_class;
@@ -3261,6 +3275,15 @@ fr_command_class_init (FrCommandClass *klass)
archive_class->add_dropped_items = fr_command_add_dropped_items;
archive_class->update_open_files = fr_command_update_open_files;
+ klass->list = NULL;
+ klass->add = NULL;
+ klass->delete = NULL;
+ klass->extract = NULL;
+ klass->test = NULL;
+ klass->uncompress = fr_command_base_uncompress;
+ klass->recompress = fr_command_base_recompress;
+ klass->handle_error = NULL;
+
/* properties */
g_object_class_install_property (gobject_class,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]