aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-tree.c9
-rw-r--r--e-util/e-tree.h2
-rw-r--r--mail/message-list.c11
4 files changed, 6 insertions, 17 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index e7ae4c0d1d..a3132c5e67 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4207,7 +4207,6 @@ e_tree_drag_source_set
e_tree_drag_source_unset
e_tree_drag_begin
e_tree_is_dragging
-e_tree_root_node_set_visible
e_tree_node_at_row
e_tree_row_of_node
e_tree_root_node_is_visible
diff --git a/e-util/e-tree.c b/e-util/e-tree.c
index 4f17922d53..e3a4e76bc8 100644
--- a/e-util/e-tree.c
+++ b/e-util/e-tree.c
@@ -2190,15 +2190,6 @@ e_tree_view_to_model_row (ETree *tree,
return view_row;
}
-void
-e_tree_root_node_set_visible (ETree *tree,
- gboolean visible)
-{
- g_return_if_fail (E_IS_TREE (tree));
-
- e_tree_table_adapter_root_node_set_visible (tree->priv->etta, visible);
-}
-
ETreePath
e_tree_node_at_row (ETree *tree,
gint row)
diff --git a/e-util/e-tree.h b/e-util/e-tree.h
index f08ae41282..362c4a8274 100644
--- a/e-util/e-tree.h
+++ b/e-util/e-tree.h
@@ -273,8 +273,6 @@ GdkDragContext *e_tree_drag_begin (ETree *tree,
gboolean e_tree_is_dragging (ETree *tree);
/* Adapter functions */
-void e_tree_root_node_set_visible (ETree *tree,
- gboolean visible);
ETreePath e_tree_node_at_row (ETree *tree,
gint row);
gint e_tree_row_of_node (ETree *tree,
diff --git a/mail/message-list.c b/mail/message-list.c
index 96a5aacb36..9cd9bf5980 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -3225,6 +3225,7 @@ message_list_init (MessageList *message_list)
static void
message_list_construct (MessageList *message_list)
{
+ ETreeTableAdapter *adapter;
AtkObject *a11y;
gboolean constructed;
gchar *etspecfile;
@@ -3241,8 +3242,10 @@ message_list_construct (MessageList *message_list)
message_list->extras, etspecfile, NULL);
g_free (etspecfile);
+ adapter = e_tree_get_table_adapter (E_TREE (message_list));
+
if (constructed)
- e_tree_root_node_set_visible (E_TREE (message_list), FALSE);
+ e_tree_table_adapter_root_node_set_visible (adapter, FALSE);
if (atk_get_root () != NULL) {
a11y = gtk_widget_get_accessible (GTK_WIDGET (message_list));
@@ -3250,8 +3253,7 @@ message_list_construct (MessageList *message_list)
}
g_signal_connect (
- e_tree_get_table_adapter (E_TREE (message_list)),
- "model_row_changed",
+ adapter, "model_row_changed",
G_CALLBACK (on_model_row_changed), message_list);
g_signal_connect (
@@ -3292,8 +3294,7 @@ message_list_construct (MessageList *message_list)
G_CALLBACK (ml_tree_drag_motion), message_list);
g_signal_connect (
- e_tree_get_table_adapter (E_TREE (message_list)),
- "sorting_changed",
+ adapter, "sorting_changed",
G_CALLBACK (ml_tree_sorting_changed), message_list);
}