Commit e6ad7651 authored by Alexandre Savard's avatar Alexandre Savard

[#3218] Small UI fix callable_obj_free

parent 94affc53
......@@ -189,6 +189,8 @@ sflphone_ringing(callable_obj_t * c )
void
sflphone_hung_up( callable_obj_t * c)
{
DEBUG("Actions: SFLphone hungup");
calllist_remove( current_calls, c->_callID);
calltree_remove_call(current_calls, c, NULL);
c->_state = CALL_STATE_DIALING;
......
......@@ -135,6 +135,8 @@ void *threaded_clock_incrementer(void *pc) {
while(call->clockStarted) {
DEBUG("CLOCK STARTED: %d", call->clockStarted);
gchar *res;
int duration;
time_t start, current;
......@@ -170,8 +172,6 @@ void *threaded_clock_incrementer(void *pc) {
calltree_update_clock(call);
g_free(res);
sleep(1);
}
}
......
......@@ -145,9 +145,9 @@ call_state_cb(DBusGProxy *proxy UNUSED, const gchar* callID, const gchar* state,
calltree_update_call(history, c, NULL);
}
stop_notification();
sflphone_hung_up(c);
calltree_update_call(history, c, NULL );
calltree_update_call(history, c, NULL);
status_bar_display_account();
sflphone_hung_up(c);
}
else if (strcmp(state, "UNHOLD_CURRENT") == 0)
{
......
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