[gnome-settings-daemon] wacom: Make get_num_buttons() return a guint
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Make get_num_buttons() return a guint
- Date: Tue, 7 Feb 2012 15:23:52 +0000 (UTC)
commit 3836f0f1abedad7615aac000e250ee730ba9adc6
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 3 15:40:09 2012 +0000
wacom: Make get_num_buttons() return a guint
plugins/wacom/gsd-wacom-device.c | 2 +-
plugins/wacom/gsd-wacom-device.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-device.c b/plugins/wacom/gsd-wacom-device.c
index 6d22479..3267f6b 100644
--- a/plugins/wacom/gsd-wacom-device.c
+++ b/plugins/wacom/gsd-wacom-device.c
@@ -193,7 +193,7 @@ gsd_wacom_stylus_get_has_eraser (GsdWacomStylus *stylus)
return stylus->priv->has_eraser;
}
-int
+guint
gsd_wacom_stylus_get_num_buttons (GsdWacomStylus *stylus)
{
g_return_val_if_fail (GSD_IS_WACOM_STYLUS (stylus), -1);
diff --git a/plugins/wacom/gsd-wacom-device.h b/plugins/wacom/gsd-wacom-device.h
index f594b57..61929a3 100644
--- a/plugins/wacom/gsd-wacom-device.h
+++ b/plugins/wacom/gsd-wacom-device.h
@@ -85,7 +85,7 @@ const char * gsd_wacom_stylus_get_name (GsdWacomStylus *stylus);
const char * gsd_wacom_stylus_get_icon_name (GsdWacomStylus *stylus);
GsdWacomDevice * gsd_wacom_stylus_get_device (GsdWacomStylus *stylus);
gboolean gsd_wacom_stylus_get_has_eraser (GsdWacomStylus *stylus);
-int gsd_wacom_stylus_get_num_buttons(GsdWacomStylus *stylus);
+guint gsd_wacom_stylus_get_num_buttons(GsdWacomStylus *stylus);
int gsd_wacom_stylus_get_id (GsdWacomStylus *stylus);
GsdWacomStylusType gsd_wacom_stylus_get_stylus_type (GsdWacomStylus *stylus);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]