[folks] inspect: Fix crash when Utils.output_filestream is uninitialized.
- From: Jeremy Whiting <jpwhiting src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] inspect: Fix crash when Utils.output_filestream is uninitialized.
- Date: Fri, 24 Aug 2012 22:44:16 +0000 (UTC)
commit b9c37985ed37e9ca0fc7d71ea7f9c07c62e4b7b8
Author: Jeremy Whiting <jpwhiting kde org>
Date: Fri Aug 24 15:54:04 2012 -0600
inspect: Fix crash when Utils.output_filestream is uninitialized.
tools/inspect/utils.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tools/inspect/utils.vala b/tools/inspect/utils.vala
index 1aeccc2..5bbacb6 100644
--- a/tools/inspect/utils.vala
+++ b/tools/inspect/utils.vala
@@ -34,6 +34,8 @@ private class Folks.Inspect.Utils
public static void init ()
{
Utils.indentation_string = "";
+ Utils.indentation = 0;
+ Utils.output_filestream = GLib.stdout;
/* Register some general transformation functions */
Value.register_transform_func (typeof (Object), typeof (string),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]