[gnote] Remove deprecated is_visible from notewindow.cpp



commit 6f0d3377897c99c972e5a717add5cdad0bf405fd
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sat Mar 5 22:21:19 2011 +0200

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

 src/notewindow.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index 9e65be4..f315ddb 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -226,7 +226,7 @@ namespace gnote {
   bool NoteWindow::on_key_pressed(GdkEventKey *ev)
   {
     if(ev->keyval == GDK_KEY_Escape) {
-      if (m_find_bar && m_find_bar->is_visible()) {
+      if (m_find_bar && m_find_bar->get_visible()) {
         m_find_bar->hide();
       }
       else if (Preferences::obj().get<bool>(



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