[anjuta] Add a warning if there is an error while getting package list
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Add a warning if there is an error while getting package list
- Date: Sat, 14 Jun 2014 08:06:04 +0000 (UTC)
commit b3d13abf81700291055e7b99fe1735bbaff57d5f
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sat Jun 14 09:21:05 2014 +0200
Add a warning if there is an error while getting package list
libanjuta/anjuta-pkg-config-chooser.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libanjuta/anjuta-pkg-config-chooser.c b/libanjuta/anjuta-pkg-config-chooser.c
index 93130fb..0aefd96 100644
--- a/libanjuta/anjuta-pkg-config-chooser.c
+++ b/libanjuta/anjuta-pkg-config-chooser.c
@@ -132,6 +132,8 @@ on_listall_exit (AnjutaLauncher * launcher, int child_pid,
user_data);
chooser->priv->scanning = FALSE;
+ if (exit_status != 0) g_warning(PKG_CONFIG_LIST_ALL " exit with error code %d" , exit_status);
+
anjuta_pkg_config_chooser_set_active_packages (chooser, chooser->priv->selected_cache);
g_list_free_full (chooser->priv->selected_cache, g_free);
chooser->priv->selected_cache = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]