Skip to content
Snippets Groups Projects
Commit 61f6f117 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

#6109: Fix gtk_critical warnings for incoming calls

parent 67c4d4fb
No related branches found
No related tags found
No related merge requests found
...@@ -547,8 +547,9 @@ sflphone_pick_up() ...@@ -547,8 +547,9 @@ sflphone_pick_up()
calltree_update_call (history, selectedCall, NULL); calltree_update_call (history, selectedCall, NULL);
// if instant messaging window is visible, create new tab (deleted automatically if not used) // if instant messaging window is visible, create new tab (deleted automatically if not used)
if (im_window_is_visible()) if (selectedCall->_im_widget && im_window_is_visible()) {
im_widget_display ( (IMWidget **) (&selectedCall->_im_widget), NULL, selectedCall->_callID, NULL); im_widget_display ( (IMWidget **) (&selectedCall->_im_widget), NULL, selectedCall->_callID, NULL);
}
dbus_accept (selectedCall); dbus_accept (selectedCall);
stop_notification(); stop_notification();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment