[Xfce4-commits] [panel-plugins/xfce4-smartbookmark-plugin] 04/11: Use the correct GDK_KEY defines

noreply at xfce.org noreply at xfce.org
Thu Apr 28 11:51:02 CEST 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-smartbookmark-plugin.

commit 5873690fb9d4aa9a4d72fb7fa0f3ae86e5e418fa
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Apr 28 11:40:02 2016 +0200

    Use the correct GDK_KEY defines
---
 src/smartbookmark.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index 21226a7..b043bd8 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -153,9 +153,8 @@ static gboolean entry_keypress_cb(GtkWidget *entry, GdkEventKey *event, t_search
     const gchar *key = NULL;   /* keyword */
 
     switch (event->keyval) {
-/* XXX use GDK_KEY_xx from gdkkeyssyms.h when we depend on gtk+ > 2.22 */
-        case GDK_Return:
-        case GDK_KP_Enter:
+        case GDK_KEY_Return:
+        case GDK_KEY_KP_Enter:
             key = gtk_entry_get_text(GTK_ENTRY(entry));
 
             if (do_search(search->url, key)) {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list