[gimp/gtk3-port: 50/218] app: use the new GDK_KEY_foo key names
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 50/218] app: use the new GDK_KEY_foo key names
- Date: Fri, 14 Jan 2011 09:24:35 +0000 (UTC)
commit 02b1c3f6599a8b7749eca332bbb0913a0c61ceca
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 15 15:39:04 2010 +0200
app: use the new GDK_KEY_foo key names
app/widgets/gimptextproxy.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/app/widgets/gimptextproxy.c b/app/widgets/gimptextproxy.c
index 6f0f2b7..d46d52e 100644
--- a/app/widgets/gimptextproxy.c
+++ b/app/widgets/gimptextproxy.c
@@ -105,24 +105,24 @@ gimp_text_proxy_class_init (GimpTextProxyClass *klass)
binding_set = gtk_binding_set_by_class (klass);
- gtk_binding_entry_add_signal (binding_set, GDK_plus, GDK_MOD1_MASK,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_plus, GDK_MOD1_MASK,
"change-size", 1,
G_TYPE_DOUBLE, 1.0);
- gtk_binding_entry_add_signal (binding_set, GDK_minus, GDK_MOD1_MASK,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_minus, GDK_MOD1_MASK,
"change-size", 1,
G_TYPE_DOUBLE, -1.0);
- gtk_binding_entry_add_signal (binding_set, GDK_Up, GDK_MOD1_MASK,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Up, GDK_MOD1_MASK,
"change-baseline", 1,
G_TYPE_DOUBLE, 1.0);
- gtk_binding_entry_add_signal (binding_set, GDK_Down, GDK_MOD1_MASK,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Down, GDK_MOD1_MASK,
"change-baseline", 1,
G_TYPE_DOUBLE, -1.0);
- gtk_binding_entry_add_signal (binding_set, GDK_Left, GDK_MOD1_MASK,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Left, GDK_MOD1_MASK,
"change-kerning", 1,
G_TYPE_DOUBLE, -1.0);
- gtk_binding_entry_add_signal (binding_set, GDK_Right, GDK_MOD1_MASK,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Right, GDK_MOD1_MASK,
"change-kerning", 1,
G_TYPE_DOUBLE, 1.0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]