[gnote] Remove deprecated scroll_mark_onscreen from notewindow.cpp



commit fe94ef2dd0addba854843b0f993f127f0a6cf59d
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sat Mar 5 22:23:24 2011 +0200

    Remove deprecated scroll_mark_onscreen from notewindow.cpp
    
    Replace it by scroll_to.

 src/notewindow.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index f315ddb..58f159f 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -776,7 +776,7 @@ namespace gnote {
     buffer->move_mark(buffer->get_selection_bound(), start);
 
     Gtk::TextView *editor = m_note.get_window()->editor();
-    editor->scroll_mark_onscreen(buffer->get_insert());
+    editor->scroll_to(buffer->get_insert());
   }
 
 



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