[gnome-settings-daemon] [mouse] Fix compiler warnings
- From: Jens Granseuer <jensg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] [mouse] Fix compiler warnings
- Date: Sat, 12 Sep 2009 12:54:08 +0000 (UTC)
commit 4257e6dc051e9a76853b3cc1074da431fd692233
Author: Jens Granseuer <jensgr gmx net>
Date: Sat Sep 12 14:52:39 2009 +0200
[mouse] Fix compiler warnings
plugins/mouse/gsd-mouse-manager.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index fb9f929..4c463eb 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -500,8 +500,8 @@ set_disable_w_typing (GsdMouseManager *manager, gboolean state)
{
if (state) {
- GError *error = NULL;
- const char *args[5];
+ GError *error = NULL;
+ char *args[5];
if (manager->priv->syndaemon_spawned)
return 0;
@@ -722,11 +722,11 @@ set_locate_pointer (GsdMouseManager *manager,
gboolean state)
{
if (state) {
- GError *error = NULL;
- const char *args[2];
+ GError *error = NULL;
+ char *args[2];
if (manager->priv->locate_pointer_spawned)
- return 0;
+ return;
args[0] = "/usr/libexec/gsd-locate-pointer";
args[1] = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]