[Xfce4-commits] [apps/xfce4-dict] 12/43: Replace GDK_[key] by GDK_KEY_[key]
noreply at xfce.org
noreply at xfce.org
Tue Nov 1 00:31:25 CET 2016
This is an automated email from the git hooks/post-receive script.
andre pushed a commit to branch master
in repository apps/xfce4-dict.
commit 7aad05bcaa206aa1c619ab24e2db829a28d5b2b8
Author: Andre Miranda <andre42m at gmail.com>
Date: Wed Jul 20 22:54:04 2016 -0300
Replace GDK_[key] by GDK_KEY_[key]
---
lib/gui.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/gui.c b/lib/gui.c
index 86a63b4..c3d9863 100644
--- a/lib/gui.c
+++ b/lib/gui.c
@@ -120,8 +120,8 @@ static gboolean textview_key_press_event(GtkWidget *text_view, GdkEventKey *even
switch (event->keyval)
{
- case GDK_Return:
- case GDK_KP_Enter:
+ case GDK_KEY_Return:
+ case GDK_KEY_KP_Enter:
{
gtk_text_buffer_get_iter_at_mark(dd->main_textbuffer, &iter,
gtk_text_buffer_get_insert(dd->main_textbuffer));
@@ -923,7 +923,7 @@ void dict_gui_create_main_window(DictData *dd)
gtk_window_maximize(GTK_WINDOW(dd->window));
}
/* quit on Escape */
- gtk_widget_add_accelerator(dd->close_button, "clicked", accel_group, GDK_Escape, 0, 0);
+ gtk_widget_add_accelerator(dd->close_button, "clicked", accel_group, GDK_KEY_Escape, 0, 0);
gtk_window_add_accel_group(GTK_WINDOW(dd->window), accel_group);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list