From 340c05a42b810035d69a6ed8f2452a5cc726b98a Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Mon, 6 Feb 2006 18:41:30 +0000 Subject: [PATCH] Fixed g_list_append return value warning --- gnoemoe/gm-string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnoemoe/gm-string.c b/gnoemoe/gm-string.c index e6e2ef1..76c0172 100644 --- a/gnoemoe/gm-string.c +++ b/gnoemoe/gm-string.c @@ -188,7 +188,7 @@ gm_string_split_add_line(gchar *line, GList *lines, GList **lastptr) { lines = g_list_append(NULL, line); *lastptr = lines; } else { - g_list_append(*lastptr, line); + *lastptr = g_list_append(*lastptr, line); *lastptr = (*lastptr)->next; }