Commit 7dd5689c authored by Rafaël Carré's avatar Rafaël Carré

Remove some annoying debug

parent 243a2239
......@@ -194,8 +194,6 @@ account_list_clear ()
void
account_list_move_up (guint index)
{
DEBUG ("index = %i\n", index);
if (index != 0) {
gpointer acc = g_queue_pop_nth (accountQueue, index);
g_queue_push_nth (accountQueue, acc, index-1);
......@@ -219,8 +217,6 @@ account_list_get_registered_accounts (void)
for (guint i = 0; i < account_list_get_size(); i++)
if (account_list_get_nth (i) -> state == (ACCOUNT_STATE_REGISTERED))
res++;
DEBUG ("Account: %d registered accounts" , res);
return res;
}
......
......@@ -111,8 +111,6 @@ callable_obj_t *create_new_call (callable_type_t type, call_state_t state,
const gchar* const peer_name,
const gchar* const peer_number)
{
DEBUG ("CallableObj: Create new call (Account: %s)", accountID);
callable_obj_t *obj = g_new0 (callable_obj_t, 1);
obj->_error_dialogs = g_ptr_array_new();
......
......@@ -132,8 +132,6 @@ void calllist_add_history_conference(conference_obj_t *obj)
void
calllist_add_call (calltab_t* tab, callable_obj_t * c)
{
DEBUG("Calllist: Add Call %s", c->_callID);
QueueElement *element = g_new0(QueueElement, 1);
element->type = HIST_CALL;
element->elem.call = c;
......@@ -165,11 +163,8 @@ calllist_remove_from_history (callable_obj_t* c)
void
calllist_remove_call (calltab_t* tab, const gchar * callID)
{
DEBUG("CallList: Remove call %s from list", callID);
GList *c = g_queue_find_custom (tab->callQueue, callID, is_callID_callstruct);
if (c == NULL) {
DEBUG("CallList: Could not remove call %s", callID);
return;
}
......@@ -208,8 +203,6 @@ calllist_get_nth (calltab_t* tab, guint n)
callable_obj_t *
calllist_get_call (calltab_t* tab, const gchar * callID)
{
DEBUG("CallList: Get call: %s", callID);
GList * c = g_queue_find_custom (tab->callQueue, callID, is_callID_callstruct);
if (c == NULL) {
ERROR("CallList: Error: Could not find call %s", callID);
......
......@@ -802,8 +802,6 @@ calltree_update_call (calltab_t* tab, callable_obj_t * c, GtkTreeIter *parent)
void calltree_add_call (calltab_t* tab, callable_obj_t * c, GtkTreeIter *parent)
{
DEBUG ("----------------------------------------------- CallTree: Add call to calltree id: %s, peer name: %s", c->_callID, c->_peer_name);
if (tab == history) {
calltree_add_history_entry (c, parent);
return;
......@@ -903,8 +901,6 @@ void calltree_add_call (calltab_t* tab, callable_obj_t * c, GtkTreeIter *parent)
void calltree_add_history_entry (callable_obj_t *c, GtkTreeIter *parent)
{
DEBUG ("------------------------------------------------- CallTree: Calltree add history entry %s", c->_callID);
if (!eel_gconf_get_integer (HISTORY_ENABLED))
return;
......@@ -921,11 +917,9 @@ void calltree_add_history_entry (callable_obj_t *c, GtkTreeIter *parent)
gtk_tree_store_prepend (history->store, &iter, parent);
if (parent == NULL) {
DEBUG("---------------------------------------- PARENT NULL, THIS IS NOT A CONFERENCE PARTICIPANT");
// this is a first level call not participating to a conference
switch (c->_history_state) {
case INCOMING:
DEBUG("--------------------------------------- INCOMING");
pixbuf = gdk_pixbuf_new_from_file (ICONS_DIR "/incoming.svg", NULL);
break;
case OUTGOING:
......@@ -939,7 +933,6 @@ void calltree_add_history_entry (callable_obj_t *c, GtkTreeIter *parent)
}
}
else {
DEBUG("--------------------------------------------- PARENT IS NOT NULL, THIS IS A CONFERENCE PARTICIPANT");
// participant to a conference
pixbuf = gdk_pixbuf_new_from_file(ICONS_DIR "/current.svg", NULL);
}
......
......@@ -911,8 +911,6 @@ dbus_get_account_details (gchar * accountID)
GError *error = NULL;
GHashTable * details = NULL;
DEBUG ("Dbus: Get account detail for %s", accountID);
if (!org_sflphone_SFLphone_ConfigurationManager_get_account_details (
configurationManagerProxy, accountID, &details, &error)) {
if (error->domain == DBUS_GERROR && error->code
......@@ -946,8 +944,6 @@ dbus_set_credentials (account_t *a)
void
dbus_get_credentials (account_t *a)
{
DEBUG("DBUS: Get credential for account %s", a->accountID);
GError *error = NULL;
if (org_sflphone_SFLphone_ConfigurationManager_get_credentials (
configurationManagerProxy, a->accountID, &a->credential_information, &error))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment