[gnote] Remove deprecated can_focus from utils.cpp



commit 6670728400d915481327b921d567cab52661af8b
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sat Mar 5 23:46:19 2011 +0200

    Remove deprecated can_focus from utils.cpp
    
    Replace it by get_can_focus.

 src/utils.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils.cpp b/src/utils.cpp
index 2f7db45..4582fdb 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -749,7 +749,7 @@ namespace gnote {
       if (!group_cycling) {
         activate();
       } 
-      else if (can_focus()) {
+      else if (get_can_focus()) {
         grab_focus();
       }
 



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