[anjuta] am-project: Fix failures due to the previous patches in the regression test
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] am-project: Fix failures due to the previous patches in the regression test
- Date: Mon, 19 Mar 2012 22:26:01 +0000 (UTC)
commit 1df97bfba46e1c84c9a574ad1857748cae881641
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Mon Mar 19 23:17:48 2012 +0100
am-project: Fix failures due to the previous patches in the regression test
plugins/am-project/amp-group.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/am-project/amp-group.c b/plugins/am-project/amp-group.c
index 3e8d31e..2c194dc 100644
--- a/plugins/am-project/amp-group.c
+++ b/plugins/am-project/amp-group.c
@@ -265,7 +265,7 @@ amp_variable_free (AmpVariable *variable)
void
amp_group_node_add_token (AmpGroupNode *group, AnjutaToken *token, AmpGroupNodeTokenCategory category)
{
- group->tokens[category] = g_list_prepend (group->tokens[category], token);
+ if (token != NULL) group->tokens[category] = g_list_prepend (group->tokens[category], token);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]