[office-runner] main: Fix compile-time warnings
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [office-runner] main: Fix compile-time warnings
- Date: Fri, 18 Jan 2013 15:46:53 +0000 (UTC)
commit 7d78b05fb21c0592cb144b57bffc2f55785ab91d
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jan 18 16:26:33 2013 +0100
main: Fix compile-time warnings
src/office-runner.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/office-runner.c b/src/office-runner.c
index 144cf87..f80bcb5 100644
--- a/src/office-runner.c
+++ b/src/office-runner.c
@@ -20,6 +20,7 @@
#include "config.h"
+#include <gio/gunixfdlist.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <gnome-settings-daemon/gsd-enums.h>
@@ -161,8 +162,6 @@ save_records (OfficeRunner *run)
static void
free_runner (OfficeRunner *run)
{
- guint i;
-
if (run->timer)
g_timer_destroy (run->timer);
if (run->timeout)
@@ -228,6 +227,7 @@ window_delete_event_cb (GtkWidget *widget,
OfficeRunner *run)
{
gtk_main_quit ();
+ return FALSE;
}
static void
@@ -365,7 +365,7 @@ is_new_record (OfficeRunner *run,
int *new_pos)
{
ORecord *o;
- guint i, cup;
+ guint i;
gboolean new_record;
GList *l;
@@ -589,7 +589,6 @@ new_runner (void)
int main (int argc, char **argv)
{
- GSettings *settings;
OfficeRunner *run;
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]