[Evolution-hackers] git 2.28 branch



got errors trying to build...

is this correct...


diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 3c56967..49ae745 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -2462,7 +2462,7 @@ folder_tree_descend (GtkTreeModel *model,
 }
 
 void
-em_folder_tree_select_prev_path (EMFolderTree *folder_tree,
+em_folder_tree_select_prev_path (EMFolderTree *emft,
                                  gboolean skip_read_folders)
 {
        GtkTreeSelection *selection;
@@ -2516,18 +2516,18 @@ em_folder_tree_select_prev_path (EMFolderTree *folder_tree,
        } while (skip_read_folders && unread <= 0 &&
                gtk_tree_path_compare (path, sentinel) != 0);
 
-       if (!gtk_tree_view_row_expanded (tree_view, path))
-               gtk_tree_view_expand_to_path (tree_view, path);
+       if (!gtk_tree_view_row_expanded (emft->priv->treeview, path))
+               gtk_tree_view_expand_to_path (emft->priv->treeview, path);
 
        gtk_tree_selection_select_path (selection, path);
 
        if (!priv->cursor_set) {
-               gtk_tree_view_set_cursor (tree_view, path, NULL, FALSE);
+               gtk_tree_view_set_cursor (emft->priv->treeview, path, NULL, FALSE);
                priv->cursor_set = TRUE;
        }
 
        gtk_tree_view_scroll_to_cell (
-               tree_view, path, NULL, TRUE, 0.5f, 0.0f);
+               emft->priv->treeview, path, NULL, TRUE, 0.5f, 0.0f);
 
        gtk_tree_path_free (sentinel);
        gtk_tree_path_free (path);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]