[file-roller] Fixed crash when opening compressed files
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] Fixed crash when opening compressed files
- Date: Mon, 13 Aug 2012 14:56:44 +0000 (UTC)
commit 5726c455562d9b5ab213ee036a678fbc82a93b99
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Aug 13 16:54:06 2012 +0200
Fixed crash when opening compressed files
added a default implementeation of the handle_error virtual function
[bug #681766]
src/fr-command.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-command.c b/src/fr-command.c
index a05c7dd..a091409 100644
--- a/src/fr-command.c
+++ b/src/fr-command.c
@@ -2871,6 +2871,14 @@ fr_command_base_recompress (FrCommand *command)
static void
+fr_command_base_handle_error (FrCommand *command,
+ FrError *error)
+{
+ /* void */
+}
+
+
+static void
fr_command_class_init (FrCommandClass *klass)
{
GObjectClass *gobject_class;
@@ -2903,7 +2911,7 @@ fr_command_class_init (FrCommandClass *klass)
klass->test = NULL;
klass->uncompress = fr_command_base_uncompress;
klass->recompress = fr_command_base_recompress;
- klass->handle_error = NULL;
+ klass->handle_error = fr_command_base_handle_error;
/* properties */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]