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

[#2006] Fix conference selection

parent dac78720
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,8 @@ popup_menu (GtkWidget *widget,
selected(GtkTreeSelection *sel, void* data UNUSED )
{
DEBUG("Selection Callback");
GtkTreeIter iter;
GValue val;
GtkTreeModel *model = (GtkTreeModel*)active_calltree->store;
......@@ -83,14 +85,17 @@ selected(GtkTreeSelection *sel, void* data UNUSED )
path = gtk_tree_model_get_path(model, &iter);
string_path = (char*)gtk_tree_path_to_string(path);
previous_id = ((callable_obj_t*)g_value_get_pointer(&val))->_callID;
selected_call = (callable_obj_t*)g_value_get_pointer(&val);
if (selected_call != NULL) {
previous_id = selected_call->_callID;
DEBUG("selected_cb\n");
DEBUG(" source path %s, %s\n", string_path, previous_id);
conferencelist_reset ();
sflphone_fill_conference_list();
}
// conferencelist_reset ();
// sflphone_fill_conference_list();
g_value_unset(&val);
toolbar_update_buttons();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment