Skip to content
Snippets Groups Projects
Commit 3953fce2 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #10736: calltree: cleanup

parent c59b45dd
No related branches found
No related tags found
No related merge requests found
...@@ -147,8 +147,8 @@ call_selected_cb(GtkTreeSelection *sel, void* data UNUSED) ...@@ -147,8 +147,8 @@ call_selected_cb(GtkTreeSelection *sel, void* data UNUSED)
} }
/* A row is activated when it is double clicked */ /* A row is activated when it is double clicked */
void static void
row_activated(GtkTreeView *tree_view UNUSED, row_activated_cb(GtkTreeView *tree_view UNUSED,
GtkTreePath *path UNUSED, GtkTreePath *path UNUSED,
GtkTreeViewColumn *column UNUSED, GtkTreeViewColumn *column UNUSED,
void * data UNUSED) void * data UNUSED)
...@@ -403,7 +403,7 @@ calltree_create(calltab_t* tab, int searchbar_type) ...@@ -403,7 +403,7 @@ calltree_create(calltab_t* tab, int searchbar_type)
gtk_tree_view_set_enable_search(GTK_TREE_VIEW(tab->view), FALSE); gtk_tree_view_set_enable_search(GTK_TREE_VIEW(tab->view), FALSE);
gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(tab->view), FALSE); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(tab->view), FALSE);
g_signal_connect(G_OBJECT(tab->view), "row-activated", g_signal_connect(G_OBJECT(tab->view), "row-activated",
G_CALLBACK(row_activated), G_CALLBACK(row_activated_cb),
NULL); NULL);
gtk_widget_set_can_focus(calltree_sw, TRUE); gtk_widget_set_can_focus(calltree_sw, TRUE);
......
...@@ -35,11 +35,9 @@ ...@@ -35,11 +35,9 @@
/** @file calltree.h /** @file calltree.h
* @brief The GtkTreeView that list calls in the main window. * @brief The GtkTreeView that list calls in the main window.
*/ */
typedef enum { typedef enum {
A_CALL, A_CALL,
A_CONFERENCE, A_CONFERENCE,
A_INVALID
} CallType; } CallType;
/** /**
...@@ -102,21 +100,10 @@ calltree_remove_conference(calltab_t *, const conference_obj_t *); ...@@ -102,21 +100,10 @@ calltree_remove_conference(calltab_t *, const conference_obj_t *);
void void
calltree_display (calltab_t *); calltree_display (calltab_t *);
void
row_activated (GtkTreeView *, GtkTreePath *, GtkTreeViewColumn *, void *);
/** /**
* Update elapsed time based on selected calltree's call * Update elapsed time based on selected calltree's call
*/ */
gboolean gboolean
calltree_update_clock(gpointer); calltree_update_clock(gpointer);
/**
* @param The calltab (current_calls, history, contacts)
* @param The call
* @param The callID/confID
*/
void
calltree_(calltab_t *, callable_obj_t *, const gchar * const);
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment