[anjuta] project-wizard: bgo #621512 - Remove deprecated glib symbols
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] project-wizard: bgo #621512 - Remove deprecated glib symbols
- Date: Mon, 14 Jun 2010 19:46:41 +0000 (UTC)
commit f3fbd4b9ffb6451318072ed865992cd7990da6fd
Author: Sébastien Granjoux <seb sfo free fr>
Date: Mon Jun 14 21:46:17 2010 +0200
project-wizard: bgo #621512 - Remove deprecated glib symbols
plugins/project-wizard/tar.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/plugins/project-wizard/tar.c b/plugins/project-wizard/tar.c
index bbe096f..148bd88 100644
--- a/plugins/project-wizard/tar.c
+++ b/plugins/project-wizard/tar.c
@@ -94,7 +94,8 @@ on_tar_listed (GPid pid,
}
}
while (status == G_IO_STATUS_AGAIN);
- g_io_channel_close (output);
+ g_io_channel_shutdown (output, TRUE, NULL);
+ g_io_channel_unref (output);
g_string_free (line, TRUE);
list = g_list_reverse (list);
@@ -129,7 +130,8 @@ on_tar_completed (GPid pid,
{
error = g_error_new_literal (IANJUTA_WIZARD_ERROR, 0, message);
}
- g_io_channel_close (stderr);
+ g_io_channel_shutdown (stderr, TRUE, NULL);
+ g_io_channel_unref (stderr);
}
((NPWTarCompleteFunc)pack->callback) (pack->destination, pack->tarfile, pack->data, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]