[gnote] Change GDK_U to GDK_KEY_U in underlinemenuitem.cpp



commit dc3001abd1cb301096773c5d25a7a05f475eb2f8
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sun May 8 00:26:49 2011 +0300

    Change GDK_U to GDK_KEY_U in underlinemenuitem.cpp
    
    The former is not available in GTK 3.

 src/addins/underline/underlinemenuitem.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/underline/underlinemenuitem.cpp b/src/addins/underline/underlinemenuitem.cpp
index 989f3cd..7d18670 100644
--- a/src/addins/underline/underlinemenuitem.cpp
+++ b/src/addins/underline/underlinemenuitem.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010 Aurimas Cernius
+ * Copyright (C) 2010-2011 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -42,7 +42,7 @@ namespace underline {
 
     add_accelerator ("activate",
                      addin->get_window()->get_accel_group(),
-                     GDK_U,
+                     GDK_KEY_U,
                      Gdk::CONTROL_MASK,
                      Gtk::ACCEL_VISIBLE);
 



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