[anjuta] glade: Fix a critical warning when opening a project with a .ui file opened
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] glade: Fix a critical warning when opening a project with a .ui file opened
- Date: Sat, 31 Aug 2013 15:24:53 +0000 (UTC)
commit dff7417c8c939d032f92dd537269c881b099de2f
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sun Aug 25 18:46:15 2013 +0200
glade: Fix a critical warning when opening a project with a .ui file opened
plugins/glade/plugin.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/glade/plugin.c b/plugins/glade/plugin.c
index 307cb7c..250074b 100644
--- a/plugins/glade/plugin.c
+++ b/plugins/glade/plugin.c
@@ -990,10 +990,10 @@ ifile_open (IAnjutaFile *ifile, GFile* file, GError **err)
{
ianjuta_document_manager_set_current_document (docman,
IANJUTA_DOCUMENT (node->data), NULL);
- g_object_unref (file);
+ g_object_unref (cur_file);
return;
}
- g_object_unref (file);
+ g_object_unref (cur_file);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]