[gnome-settings-daemon] wacom: Fix double notification for last-stylus
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Fix double notification for last-stylus
- Date: Wed, 14 Dec 2011 18:56:47 +0000 (UTC)
commit eda39a7320a7b5f1ebc7d4eceaab254e171c9857
Author: Bastien Nocera <hadess hadess net>
Date: Wed Dec 14 17:53:24 2011 +0000
wacom: Fix double notification for last-stylus
We're already changing it through the function, so we'll
receive a notification.
plugins/wacom/gsd-wacom-device.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-device.c b/plugins/wacom/gsd-wacom-device.c
index 33b13d1..bcab49e 100644
--- a/plugins/wacom/gsd-wacom-device.c
+++ b/plugins/wacom/gsd-wacom-device.c
@@ -623,7 +623,6 @@ gsd_wacom_device_set_current_stylus (GsdWacomDevice *device,
if (stylus->priv->id == stylus_id) {
g_object_set (device, "last-stylus", stylus, NULL);
- g_object_notify (G_OBJECT (device), "last-stylus");
return;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]