[anjuta] libanjuta: revert a change in the previous patch crashing anjuta
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] libanjuta: revert a change in the previous patch crashing anjuta
- Date: Sat, 18 Jun 2011 13:19:14 +0000 (UTC)
commit 492cd9ff9c5a92b1046f56ae592e185f549d212d
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Sat Jun 18 15:18:57 2011 +0200
libanjuta: revert a change in the previous patch crashing anjuta
libanjuta/anjuta-token-file.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libanjuta/anjuta-token-file.c b/libanjuta/anjuta-token-file.c
index 7284eff..fd4c28c 100644
--- a/libanjuta/anjuta-token-file.c
+++ b/libanjuta/anjuta-token-file.c
@@ -110,13 +110,13 @@ anjuta_token_file_load (AnjutaTokenFile *file, GError **error)
anjuta_token_file_unload (file);
+ file->save = anjuta_token_new_static (ANJUTA_TOKEN_FILE, NULL);
+ file->content = anjuta_token_new_static (ANJUTA_TOKEN_FILE, NULL);
+
if (g_file_load_contents (file->file, NULL, &content, &length, NULL, error))
{
AnjutaToken *token;
- file->save = anjuta_token_new_static (ANJUTA_TOKEN_FILE, NULL);
- file->content = anjuta_token_new_static (ANJUTA_TOKEN_FILE, NULL);
-
token = anjuta_token_new_string_len (ANJUTA_TOKEN_FILE, content, length);
anjuta_token_prepend_child (file->save, token);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]