[gnote] Remove deprecated is_visible from notemanager.cpp



commit 87236cc8aaf9ed6b27792c1168e2aa81bae1327d
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sat Mar 5 22:08:00 2011 +0200

    Remove deprecated is_visible from notemanager.cpp
    
    Replace it by get_visible.

 src/notemanager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notemanager.cpp b/src/notemanager.cpp
index d8c6ec9..18695ba 100644
--- a/src/notemanager.cpp
+++ b/src/notemanager.cpp
@@ -425,7 +425,7 @@ namespace gnote {
       const Note::Ptr & note(*iter);
       // If the note is visible, it will be shown automatically on
       // next startup
-      if (note->has_window() && note->get_window()->is_visible())
+      if (note->has_window() && note->get_window()->get_visible())
           note->set_is_open_on_startup(true);
 
       note->save();



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