aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r--shell/e-component-registry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index d4a9411490..21a87629e9 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -149,7 +149,6 @@ query_components (EComponentRegistry *registry)
const gchar * const *language_names;
CORBA_Environment ev;
GSList *languages = NULL;
- const GList *l;
char *query;
int i;
@@ -173,7 +172,7 @@ query_components (EComponentRegistry *registry)
language_names = g_get_language_names ();
while (*language_names != NULL)
- languages = g_slist_append (languages, *language_names++);
+ languages = g_slist_append (languages, (gpointer)(*language_names++));
for (i = 0; i < info_list->_length; i++) {
const char *id;