[ekiga/ds-gtk3-new: 6/7] GmMenuAddon: Ported to GTK+ 3.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk3-new: 6/7] GmMenuAddon: Ported to GTK+ 3.
- Date: Sun, 10 Mar 2013 16:22:00 +0000 (UTC)
commit a83897dd5911c3db28fb1cfd5cf52afbf5c0813d
Author: Damien Sandras <dsandras beip be>
Date: Sun Mar 10 17:17:36 2013 +0100
GmMenuAddon: Ported to GTK+ 3.
lib/gui/gmmenuaddon.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/lib/gui/gmmenuaddon.c b/lib/gui/gmmenuaddon.c
index 39c96b0..bf719e5 100644
--- a/lib/gui/gmmenuaddon.c
+++ b/lib/gui/gmmenuaddon.c
@@ -294,13 +294,13 @@ gtk_build_menu (GtkWidget *menubar,
if (menu [i].accel && accel)
{
switch (menu [i].accel) {
- case GDK_F1:
- case GDK_F11:
- case GDK_Escape:
- case GDK_h:
- case GDK_t:
- case GDK_m:
- case GDK_p:
+ case GDK_KEY_F1:
+ case GDK_KEY_F11:
+ case GDK_KEY_Escape:
+ case GDK_KEY_h:
+ case GDK_KEY_t:
+ case GDK_KEY_m:
+ case GDK_KEY_p:
gtk_widget_add_accelerator (menu [i].widget, "activate",
accel, menu [i].accel,
0, GTK_ACCEL_VISIBLE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]