[gnome-control-center] #include <config.h> to make translations work



commit 24cfcd9a36dd04be9426ca39310d3609632131c0
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Thu Feb 24 19:52:00 2011 +0100

    #include <config.h> to make translations work

 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 90cfe77..c043b1e 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -19,6 +19,8 @@
  *          Rodrigo Moya <rodrigo gnome org>
  */
 
+#include <config.h>
+
 #include <glib/gi18n.h>
 #include <gconf/gconf-client.h>
 #include "eggcellrendererkeys.h"
@@ -1629,8 +1631,6 @@ section_sort_item  (GtkTreeModel *model,
   int   b_group;
   int   ret;
 
-  ret = 0;
-
   gtk_tree_model_get (model, a,
                       SECTION_DESCRIPTION_COLUMN, &a_desc,
                       SECTION_GROUP_COLUMN, &a_group,



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