[office-runner] Reset the suspend settings on exit
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [office-runner] Reset the suspend settings on exit
- Date: Thu, 15 Sep 2011 23:12:40 +0000 (UTC)
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]