*/
#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
/* We just reset the languages list. */
if (languages != NULL) {
- g_hash_table_destroy (languages);
+ g_hash_table_unref (languages);
languages = NULL;
}
}
return;
}
- *list = g_list_append (*list, g_strdup (lang));
+ *list = g_list_append (*list, lang);
}
GList *