diff --git a/gnome/src/contacts/calltree.c b/gnome/src/contacts/calltree.c index 94ee7c976d3aa892cda81ac8d5d3c1aade717b1c..04dc3dcd263330174f4a3eae243caa71ea9c94ac 100644 --- a/gnome/src/contacts/calltree.c +++ b/gnome/src/contacts/calltree.c @@ -147,11 +147,11 @@ call_selected_cb(GtkTreeSelection *sel, void* data UNUSED) } /* A row is activated when it is double clicked */ -void -row_activated(GtkTreeView *tree_view UNUSED, - GtkTreePath *path UNUSED, - GtkTreeViewColumn *column UNUSED, - void * data UNUSED) +static void +row_activated_cb(GtkTreeView *tree_view UNUSED, + GtkTreePath *path UNUSED, + GtkTreeViewColumn *column UNUSED, + void * data UNUSED) { if (calltab_get_selected_type(active_calltree_tab) == A_CALL) { DEBUG("Selected a call"); @@ -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_headers_visible(GTK_TREE_VIEW(tab->view), FALSE); g_signal_connect(G_OBJECT(tab->view), "row-activated", - G_CALLBACK(row_activated), + G_CALLBACK(row_activated_cb), NULL); gtk_widget_set_can_focus(calltree_sw, TRUE); diff --git a/gnome/src/contacts/calltree.h b/gnome/src/contacts/calltree.h index 3191e26751fb0eb71757b66ab3d6f2d886eb33ff..073e8479590e27d5311b21dd347a1c1d9093dfa4 100644 --- a/gnome/src/contacts/calltree.h +++ b/gnome/src/contacts/calltree.h @@ -35,12 +35,10 @@ /** @file calltree.h * @brief The GtkTreeView that list calls in the main window. */ - typedef enum { A_CALL, A_CONFERENCE, - A_INVALID -} CallType; + } CallType; /** * Tags used to identify display type in calltree @@ -102,21 +100,10 @@ calltree_remove_conference(calltab_t *, const conference_obj_t *); void calltree_display (calltab_t *); -void -row_activated (GtkTreeView *, GtkTreePath *, GtkTreeViewColumn *, void *); - /** * Update elapsed time based on selected calltree's call */ gboolean 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