summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-01-20 18:25:03 +0100
committerCarlos Garnacho <carlosg@gnome.org>2015-01-20 18:40:29 +0100
commit316564a917be6765a02b76802c876efcac31ae9c (patch)
treea1cd8a9c2dcf82d90db1f52687c760f630062c1a
parent3da1043cfa9843965a416f24146d5548a0a72ffc (diff)
downloadgnome-settings-daemon-316564a917be6765a02b76802c876efcac31ae9c.tar.gz
device-manager: fix typo
g_return_val_if_fail is checking the wrong variable here...
-rw-r--r--plugins/common/gsd-device-manager-x11.c2
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 afd37471..89397bd7 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);