Skip to content
Snippets Groups Projects
Commit 7dd5689c authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Remove some annoying debug

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