[gnome-control-center] keyboard: Use correct type for enum



commit 0f3cf2286f3b8095f40ea7847d41947c7b3f3443
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 13 12:17:30 2011 +0100

    keyboard: Use correct type for enum

 panels/keyboard/keyboard-shortcuts.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c
index 9bc221a..1a848f3 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -110,7 +110,7 @@ free_key_array (GPtrArray *keys)
 }
 
 static GHashTable *
-get_hash_for_group (int group)
+get_hash_for_group (BindingGroupType group)
 {
   GHashTable *hash;
 
@@ -837,7 +837,7 @@ section_selection_changed (GtkTreeSelection *selection, gpointer data)
       GtkWidget *shortcut_treeview;
       GtkTreeModel *shortcut_model;
       gchar *description;
-      gint group;
+      BindingGroupType group;
       gint i;
 
       gtk_tree_model_get (model, &iter,



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