[gnome-settings-daemon] mouse: Fix crash in GHashTable usage



commit 85a9c68909beb486f7569da5bc4167da6072bd9f
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Mar 21 14:41:11 2011 +0000

    mouse: Fix crash in GHashTable usage

 plugins/mouse/gsd-mouse-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index c4b8014..c889b98 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -1001,7 +1001,7 @@ static void
 gsd_mouse_manager_init (GsdMouseManager *manager)
 {
         manager->priv = GSD_MOUSE_MANAGER_GET_PRIVATE (manager);
-        manager->priv->blacklist = g_hash_table_new (g_int_hash, g_int_equal);
+        manager->priv->blacklist = g_hash_table_new (g_direct_hash, g_direct_equal);
 }
 
 static gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]