[gnome-settings-daemon] wacom: Constify libwacom_get_styli() returned value
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Constify libwacom_get_styli() returned value
- Date: Thu, 17 May 2012 17:31:44 +0000 (UTC)
commit 311f9ff9c8cd5c9cea75c5445d51a212945af114
Author: Olivier Fourdan <ofourdan redhat com>
Date: Fri May 11 14:43:53 2012 +0200
wacom: Constify libwacom_get_styli() returned value
To match the same API change in libwacom 0.5
(libwacom commit 715ac982)
https://bugzilla.gnome.org/show_bug.cgi?id=675872
configure.ac | 2 +-
plugins/wacom/gsd-wacom-device.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 147faa2..61bc883 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,7 +51,7 @@ GNOME_DESKTOP_REQUIRED_VERSION=3.3.92
LIBNOTIFY_REQUIRED_VERSION=0.7.3
UPOWER_GLIB_REQUIRED_VERSION=0.9.1
PA_REQUIRED_VERSION=0.9.16
-LIBWACOM_REQUIRED_VERSION=0.3
+LIBWACOM_REQUIRED_VERSION=0.5
UPOWER_REQUIRED_VERSION=0.9.11
EXTRA_COMPILE_WARNINGS(yes)
diff --git a/plugins/wacom/gsd-wacom-device.c b/plugins/wacom/gsd-wacom-device.c
index 0cc4b75..d334863 100644
--- a/plugins/wacom/gsd-wacom-device.c
+++ b/plugins/wacom/gsd-wacom-device.c
@@ -1128,7 +1128,7 @@ gsd_wacom_device_update_from_db (GsdWacomDevice *device,
if (device->priv->type == WACOM_TYPE_STYLUS ||
device->priv->type == WACOM_TYPE_ERASER) {
- int *ids;
+ const int *ids;
int num_styli;
guint i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]