[gnote] Remove deprecated set_sort_column_id from noterenamedialog.cpp



commit 3ec04c00c3c2d2daaba4b3be13c60b7d71ba88ab
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sat Mar 5 22:17:53 2011 +0200

    Remove deprecated set_sort_column_id from noterenamedialog.cpp
    
    Replace it by set_sort_column.

 src/noterenamedialog.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/noterenamedialog.cpp b/src/noterenamedialog.cpp
index 6d6abfb..9db0ca9 100644
--- a/src/noterenamedialog.cpp
+++ b/src/noterenamedialog.cpp
@@ -217,7 +217,7 @@ NoteRenameDialog::NoteRenameDialog(const Note::List & notes,
     column->add_attribute(*toggle_cell,
                           "active",
                           model_column_record.get_column_selected());
-    column->set_sort_column_id(
+    column->set_sort_column(
               model_column_record.get_column_selected());
     column->set_resizable(true);
     notes_view->append_column(*column);
@@ -229,7 +229,7 @@ NoteRenameDialog::NoteRenameDialog(const Note::List & notes,
           new Gtk::TreeViewColumn(
                 _("Note Title"),
                 model_column_record.get_column_title()));
-    column->set_sort_column_id(model_column_record.get_column_title());
+    column->set_sort_column(model_column_record.get_column_title());
     column->set_resizable(true);
     notes_view->append_column(*column);
   }



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