]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-spell.c
Updated Czech translation
[empathy.git] / libempathy-gtk / empathy-spell.c
index d097f1eeb93fb8f155bcc9e992ea6ddb9633963c..27f27f902f034f0b05a4a27db803a7b8db63f2c9 100644 (file)
@@ -22,9 +22,7 @@
  */
 
 #include "config.h"
-
-#include <string.h>
-#include <stdlib.h>
+#include "empathy-spell.h"
 
 #include <glib/gi18n-lib.h>
 
 #include <enchant.h>
 #endif
 
-#include "empathy-spell.h"
+#include "empathy-gsettings.h"
 
 #define DEBUG_FLAG EMPATHY_DEBUG_OTHER
-#include <libempathy/empathy-debug.h>
-#include <libempathy/empathy-gsettings.h>
+#include "empathy-debug.h"
 
 #ifdef HAVE_ENCHANT
 
@@ -169,7 +166,7 @@ spell_notify_languages_cb (GSettings   *gsettings,
 
        /* We just reset the languages list. */
        if (languages != NULL) {
-               g_hash_table_destroy (languages);
+               g_hash_table_unref (languages);
                languages = NULL;
        }
 }
@@ -284,7 +281,7 @@ enumerate_dicts (const gchar * const lang_tag,
                return;
        }
 
-       *list = g_list_append (*list, g_strdup (lang));
+       *list = g_list_append (*list, lang);
 }
 
 GList *