summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2008-08-16 09:55:37 +0000
committerKjartan Maraas <kmaraas@src.gnome.org>2008-08-16 09:55:37 +0000
commit27270896f5cab2c8395d81bc9820d3d373b78d34 (patch)
treea8dca6203c2e6a9bb6addd12b2694c911c36cee4 /tools
parent08869fde8401e1a1647eaf987d80f5f677622be4 (diff)
downloadgnome-session-27270896f5cab2c8395d81bc9820d3d373b78d34.tar.gz
Fix some warnings from sparse and other tools. Closes bug #521413
2008-08-16 Kjartan Maraas <kmaraas@gnome.org> * capplet/gsm-app-dialog.c: * egg/eggdesktopfile.h: * egg/eggsmclient-libgnomeui.c: (egg_sm_client_module_info_get): * egg/eggsmclient-xsmp.c: * gnome-session/gsm-autostart-app.c: * gnome-session/gsm-client.c: * gnome-session/gsm-client.h: * gnome-session/gsm-dbus-client.c: * gnome-session/gsm-inhibit-dialog.c: (add_inhibitor): * gnome-session/gsm-inhibit-dialog.h: * gnome-session/gsm-inhibitor.c: * gnome-session/gsm-inhibitor.h: * gnome-session/gsm-manager.c: * gnome-session/gsm-store.c: * gnome-session/gsm-util.c: * gnome-session/gsm-xsmp-client.c: * gnome-session/gsm-xsmp-server.c: * gnome-session/test-inhibit.c: * tools/gnome-session-save.c: Fix some warnings from sparse and other tools. Closes bug #521413 svn path=/trunk/; revision=4964
Diffstat (limited to 'tools')
-rw-r--r--tools/gnome-session-save.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gnome-session-save.c b/tools/gnome-session-save.c
index ccd98222..ec874f63 100644
--- a/tools/gnome-session-save.c
+++ b/tools/gnome-session-save.c
@@ -105,6 +105,7 @@ get_session_bus (void)
return bus;
}
+#if 0
static void
set_session_name (const char *session_name)
{
@@ -151,6 +152,7 @@ set_session_name (const char *session_name)
g_object_unref (sm_proxy);
}
}
+#endif
static void
logout_session (gboolean show_confirmation)