aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-09 17:23:51 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-09 17:23:51 +0800
commit5127a611e09af16d0cf435e659d0448e2791c494 (patch)
tree8c0508ac1821b58f5f4b7f6020162ddaa35e5fcf
parent1dc974bb9620f95d5c3c758f54a97f3c68263aee (diff)
downloadgsoc2013-empathy-5127a611e09af16d0cf435e659d0448e2791c494.tar
gsoc2013-empathy-5127a611e09af16d0cf435e659d0448e2791c494.tar.gz
gsoc2013-empathy-5127a611e09af16d0cf435e659d0448e2791c494.tar.bz2
gsoc2013-empathy-5127a611e09af16d0cf435e659d0448e2791c494.tar.lz
gsoc2013-empathy-5127a611e09af16d0cf435e659d0448e2791c494.tar.xz
gsoc2013-empathy-5127a611e09af16d0cf435e659d0448e2791c494.tar.zst
gsoc2013-empathy-5127a611e09af16d0cf435e659d0448e2791c494.zip
Remove flooding debug messages
Those messages flood the debug window and never helped me finding any bug.
-rw-r--r--libempathy-gtk/empathy-individual-store.c25
-rw-r--r--libempathy-gtk/empathy-individual-view.c2
2 files changed, 0 insertions, 27 deletions
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c
index c22e11149..b475b7c30 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 34ca7c09f..54712d25a 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,