[Xfce4-commits] [apps/xfce4-screenshooter] 03/38: Replace GDK_[key] by GDK_KEY_[key]
noreply at xfce.org
noreply at xfce.org
Fri Apr 28 03:06:59 CEST 2017
This is an automated email from the git hooks/post-receive script.
andre pushed a commit to branch master
in repository apps/xfce4-screenshooter.
commit 309c0e04d7a2546c20e3916d04291954f2958d5a
Author: Andre Miranda <andre42m at gmail.com>
Date: Thu Feb 9 23:32:46 2017 -0300
Replace GDK_[key] by GDK_KEY_[key]
---
lib/screenshooter-capture.c | 2 +-
lib/screenshooter-utils.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/screenshooter-capture.c b/lib/screenshooter-capture.c
index d8bd9e4..25394a1 100644
--- a/lib/screenshooter-capture.c
+++ b/lib/screenshooter-capture.c
@@ -489,7 +489,7 @@ static gboolean cb_key_pressed (GtkWidget *widget,
GdkEventKey *event,
gboolean *cancelled)
{
- if (event->keyval == GDK_Escape)
+ if (event->keyval == GDK_KEY_Escape)
{
gtk_widget_hide (widget);
*cancelled = TRUE;
diff --git a/lib/screenshooter-utils.c b/lib/screenshooter-utils.c
index e412182..bda8008 100644
--- a/lib/screenshooter-utils.c
+++ b/lib/screenshooter-utils.c
@@ -313,7 +313,7 @@ screenshooter_f1_key (GtkWidget *widget, GdkEventKey *event, gpointer user_data)
{
GtkWidget *window;
- if (event->keyval == GDK_F1)
+ if (event->keyval == GDK_KEY_F1)
{
window = gtk_widget_get_toplevel (widget);
screenshooter_open_help (GTK_WINDOW (window));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list