[anjuta] am-project: Remove debugging messages
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] am-project: Remove debugging messages
- Date: Sat, 18 Dec 2010 18:36:45 +0000 (UTC)
commit 217d2d3c46b26a604f69c2b60640470e2ebbe4a7
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sat Dec 18 19:35:21 2010 +0100
am-project: Remove debugging messages
plugins/am-project/am-project.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plugins/am-project/am-project.c b/plugins/am-project/am-project.c
index 61041ff..acdfdfd 100644
--- a/plugins/am-project/am-project.c
+++ b/plugins/am-project/am-project.c
@@ -2483,19 +2483,19 @@ static gboolean
amp_load_complete (PmJob *job)
{
GHashTable *map;
- static GTimer *timer = NULL;
+ //static GTimer *timer = NULL;
g_return_val_if_fail (job->proxy != NULL, FALSE);
//anjuta_project_node_check (job->node);
- if (timer == NULL)
+ /*if (timer == NULL)
{
timer = g_timer_new ();
}
else
{
g_timer_continue (timer);
- }
+ }*/
map = amp_project_map_node (job->node, job->proxy);
g_object_ref (job->proxy);
g_hash_table_foreach (map, (GHFunc)amp_project_update_node, map);
@@ -2504,8 +2504,8 @@ amp_load_complete (PmJob *job)
g_object_unref (job->proxy);
job->proxy = NULL;
g_signal_emit_by_name (AMP_PROJECT (job->user_data), "node-loaded", job->node, job->error);
- g_timer_stop (timer);
- g_message ("amp_load_complete completed in %g", g_timer_elapsed (timer, NULL));
+ //g_timer_stop (timer);
+ //g_message ("amp_load_complete completed in %g", g_timer_elapsed (timer, NULL));
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]