[empathy] Remove flooding debug messages
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Remove flooding debug messages
- Date: Fri, 9 Mar 2012 09:48:18 +0000 (UTC)
commit 5127a611e09af16d0cf435e659d0448e2791c494
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Mar 9 10:23:51 2012 +0100
Remove flooding debug messages
Those messages flood the debug window and never helped me finding any bug.
libempathy-gtk/empathy-individual-store.c | 25 -------------------------
libempathy-gtk/empathy-individual-view.c | 2 --
2 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c
index c22e111..b475b7c 100644
--- a/libempathy-gtk/empathy-individual-store.c
+++ b/libempathy-gtk/empathy-individual-store.c
@@ -447,8 +447,6 @@ individual_store_contact_set_active (EmpathyIndividualStore *self,
EMPATHY_INDIVIDUAL_STORE_COL_IS_ACTIVE, active,
-1);
- DEBUG ("Set item %s", active ? "active" : "inactive");
-
if (set_changed)
{
path = gtk_tree_model_get_path (model, l->data);
@@ -487,10 +485,6 @@ individual_store_contact_active_new (EmpathyIndividualStore *self,
{
ShowActiveData *data;
- DEBUG ("Individual'%s' now active, and %s be removed",
- folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)),
- remove_ ? "WILL" : "WILL NOT");
-
data = g_slice_new0 (ShowActiveData);
/* We don't actually want to force either the IndividualStore or the
@@ -538,9 +532,6 @@ individual_store_contact_active_cb (ShowActiveData *data)
empathy_individual_store_remove_individual (data->self, data->individual);
}
- DEBUG ("Individual'%s' no longer active",
- folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (data->individual)));
-
individual_store_contact_set_active (data->self,
data->individual, FALSE, TRUE);
@@ -645,15 +636,10 @@ individual_store_contact_update (EmpathyIndividualStore *self,
if (self->priv->show_active)
{
do_set_active = TRUE;
-
- DEBUG ("Set active (individual added)");
}
}
else
{
- DEBUG ("Individual'%s' in list:YES, should be:YES",
- folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)));
-
/* Get online state before. */
if (iters && g_list_length (iters) > 0)
{
@@ -668,17 +654,12 @@ individual_store_contact_update (EmpathyIndividualStore *self,
{
do_set_active = TRUE;
do_set_refresh = TRUE;
-
- DEBUG ("Set active (individual updated %s)",
- was_online ? "online -> offline" : "offline -> online");
}
else
{
/* Was TRUE for presence updates. */
/* do_set_active = FALSE; */
do_set_refresh = TRUE;
-
- DEBUG ("Set active (individual updated)");
}
}
@@ -767,9 +748,6 @@ individual_store_individual_updated_cb (FolksIndividual *individual,
GParamSpec *param,
EmpathyIndividualStore *self)
{
- DEBUG ("Individual'%s' updated, checking roster is in sync...",
- folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)));
-
individual_store_contact_update (self, individual);
}
@@ -780,9 +758,6 @@ individual_store_contact_updated_cb (EmpathyContact *contact,
{
FolksIndividual *individual;
- DEBUG ("Contact '%s' updated, checking roster is in sync...",
- empathy_contact_get_alias (contact));
-
individual = g_object_get_data (G_OBJECT (contact), "individual");
if (individual == NULL)
return;
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 34ca7c0..54712d2 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -1563,8 +1563,6 @@ individual_view_expand_idle_cb (EmpathyIndividualView *self)
{
EmpathyIndividualViewPriv *priv = GET_PRIV (self);
- DEBUG ("individual_view_expand_idle_cb");
-
g_signal_handlers_block_by_func (self,
individual_view_row_expand_or_collapse_cb, GINT_TO_POINTER (TRUE));
g_signal_handlers_block_by_func (self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]