[gnote] Change GDK_Escape to GDK_KEY_Escape in preferencesdialog.cpp



commit 38755fccc415f11506a28a06069ac8b869e49a41
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sun May 8 00:39:40 2011 +0300

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

 src/preferencesdialog.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index 983ce2a..da1438a 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010 Aurimas Cernius
+ * Copyright (C) 2010-2011 Aurimas Cernius
  * Copyright (C) 2009 Debarshi Ray
  * Copyright (C) 2009 Hubert Figuiere
  *
@@ -152,7 +152,7 @@ namespace gnote {
 
       button->add_accelerator ("activate",
                                accel_group,
-                               GDK_Escape,
+                               GDK_KEY_Escape,
                                (Gdk::ModifierType)0,
                                (Gtk::AccelFlags)0);
 



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