[gnome-settings-daemon] device-manager: fix typo
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] device-manager: fix typo
- Date: Tue, 20 Jan 2015 17:42:28 +0000 (UTC)
commit 316564a917be6765a02b76802c876efcac31ae9c
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jan 20 18:25:03 2015 +0100
device-manager: fix typo
g_return_val_if_fail is checking the wrong variable here...
plugins/common/gsd-device-manager-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/gsd-device-manager-x11.c b/plugins/common/gsd-device-manager-x11.c
index afd3747..89397bd 100644
--- a/plugins/common/gsd-device-manager-x11.c
+++ b/plugins/common/gsd-device-manager-x11.c
@@ -250,7 +250,7 @@ gsd_x11_device_manager_lookup_gdk_device (GsdX11DeviceManager *manager,
const gchar *device_node;
g_return_val_if_fail (GSD_IS_X11_DEVICE_MANAGER (manager), NULL);
- g_return_val_if_fail (GDK_IS_DEVICE (manager), NULL);
+ g_return_val_if_fail (GDK_IS_DEVICE (gdk_device), NULL);
device_node = g_hash_table_lookup (manager->gdk_devices, gdk_device);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]