[gnome-settings-daemon] cursor: Remove inaccurate plural from function name



commit 831dd4504a543de96a4fc1b4301d10481d3f264d
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Nov 13 07:49:10 2012 +0100

    cursor: Remove inaccurate plural from function name

 plugins/cursor/gsd-cursor-manager.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/plugins/cursor/gsd-cursor-manager.c b/plugins/cursor/gsd-cursor-manager.c
index d3ed2af..bf1654e 100644
--- a/plugins/cursor/gsd-cursor-manager.c
+++ b/plugins/cursor/gsd-cursor-manager.c
@@ -197,17 +197,17 @@ update_cursor_for_current (GsdCursorManager *manager)
 }
 
 static void
-devices_added_cb (GdkDeviceManager *device_manager,
-                  GdkDevice        *device,
-                  GsdCursorManager *manager)
+device_added_cb (GdkDeviceManager *device_manager,
+                 GdkDevice        *device,
+                 GsdCursorManager *manager)
 {
         update_cursor_for_current (manager);
 }
 
 static void
-devices_removed_cb (GdkDeviceManager *device_manager,
-                    GdkDevice        *device,
-                    GsdCursorManager *manager)
+device_removed_cb (GdkDeviceManager *device_manager,
+                   GdkDevice        *device,
+                   GsdCursorManager *manager)
 {
         /* If devices are removed, then it's unlikely
          * a mouse appeared */
@@ -283,9 +283,9 @@ gsd_cursor_manager_idle_cb (GsdCursorManager *manager)
 
         device_manager = gdk_display_get_device_manager (gdk_display_get_default ());
         manager->priv->added_id = g_signal_connect (G_OBJECT (device_manager), "device-added",
-                                                    G_CALLBACK (devices_added_cb), manager);
+                                                    G_CALLBACK (device_added_cb), manager);
         manager->priv->removed_id = g_signal_connect (G_OBJECT (device_manager), "device-removed",
-                                                      G_CALLBACK (devices_removed_cb), manager);
+                                                      G_CALLBACK (device_removed_cb), manager);
 
         gnome_settings_profile_end (NULL);
 



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