[balsa] Use Gdk-2 key definition



commit 2d1e842e91a9781f5a663cbaa17bf1cdb1e5f12c
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Jun 15 22:36:01 2011 -0400

    Use Gdk-2 key definition
    
    	* src/main-window.c: use GDK_1 instead of new GDK_KEY_1.

 ChangeLog         |    5 +++++
 src/main-window.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index cea8111..c64b753 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-15  Peter Bloomfield
+
+	* src/main-window.c: use GDK_1 instead of new GDK_KEY_1 in alt-n
+	code.
+
 2011-06-13  Pawel Salek
 
 	* configure.in: gtkhtml-4.0 does not work with gtk-2.0
diff --git a/src/main-window.c b/src/main-window.c
index 24e4291..d01489f 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2737,7 +2737,7 @@ bw_mailbox_tab_n_cb(GtkAction * action, gpointer data)
     if (event->type == GDK_KEY_PRESS) {
         gtk_notebook_set_current_page(GTK_NOTEBOOK
                                       (BALSA_WINDOW(data)->notebook),
-                                      event->key.keyval - GDK_KEY_1);
+                                      event->key.keyval - GDK_1);
     }
     gdk_event_free(event);
 }



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