[gnote] Change GDK_Escape to GDK_KEY_Escape in utils.cpp



commit 6613dcc91f25f867c14bab2a17d9dccc23ff0e9e
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sun May 8 00:45:28 2011 +0300

    Change GDK_Escape to GDK_KEY_Escape in utils.cpp
    
    The former is not available in GTK 3.

 src/utils.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/utils.cpp b/src/utils.cpp
index 3e1829b..2f7db45 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010 Aurimas Cernius
+ * Copyright (C) 2010-2011 Aurimas Cernius
  * Copyright (C) 2010 Debarshi Ray
  * Copyright (C) 2009 Hubert Figuiere
  *
@@ -422,7 +422,7 @@ namespace gnote {
       if (is_default) {
         set_default_response(resp);
         button->add_accelerator ("activate", m_accel_group,
-                                 GDK_Escape, (Gdk::ModifierType)0,
+                                 GDK_KEY_Escape, (Gdk::ModifierType)0,
                                  Gtk::ACCEL_VISIBLE);
       }
     }



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