[office-runner] Reset the suspend settings on exit



commit 677e25d315e976e7df88c0ff5ceaceb517ec01d3
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 16 00:12:01 2011 +0100

    Reset the suspend settings on exit

 src/office-runner.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/office-runner.c b/src/office-runner.c
index 959959d..b446b4d 100644
--- a/src/office-runner.c
+++ b/src/office-runner.c
@@ -57,10 +57,13 @@ typedef struct {
 } OfficeRunner;
 
 static void switch_to_page (OfficeRunner *run, int page);
+static void set_running_settings (OfficeRunner *run, gboolean running);
 
 static void
 free_runner (OfficeRunner *run)
 {
+	set_running_settings (run, FALSE);
+
 	if (run->timer)
 		g_timer_destroy (run->timer);
 	if (run->timeout)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]