[gnote] Remove deprecated scroll_mark_onscreen from watchers.cpp



commit 55c98b2e46a4f79df0dd3a770869531482d29bf8
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sat Mar 5 23:49:00 2011 +0200

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

 src/watchers.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/watchers.cpp b/src/watchers.cpp
index a555157..20ecf30 100644
--- a/src/watchers.cpp
+++ b/src/watchers.cpp
@@ -137,7 +137,7 @@ namespace gnote {
     get_buffer()->remove_tag (m_title_tag, get_title_end(), end);
       
     //In the case of large copy and paste operations, show the end of the block
-    get_window()->editor()->scroll_mark_onscreen (get_buffer()->get_insert());
+    get_window()->editor()->scroll_to (get_buffer()->get_insert());
   }
   
 



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