[Xfce4-commits] [apps/xfce4-taskmanager] 03/06: use GDK_KEY_Menu instead of the deprecated GDK_Menu via gdkkeysyms-compat.h

noreply at xfce.org noreply at xfce.org
Thu Dec 11 19:11:15 CET 2014


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

landry pushed a commit to branch landry/gtk3
in repository apps/xfce4-taskmanager.

commit c90a0ac966a5f1c2bc61cd5312f74ce5e0c4ec7a
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Dec 11 18:52:50 2014 +0100

    use GDK_KEY_Menu instead of the deprecated GDK_Menu via gdkkeysyms-compat.h
---
 src/process-tree-view.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/process-tree-view.c b/src/process-tree-view.c
index e6f6ffd..01be48b 100644
--- a/src/process-tree-view.c
+++ b/src/process-tree-view.c
@@ -15,9 +15,6 @@
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
-#ifdef HAVE_GTK3
-#include <gdk/gdkkeysyms-compat.h>
-#endif
 #include "process-tree-model.h"
 #include "process-tree-view.h"
 #include "task-manager.h"
@@ -559,7 +556,7 @@ treeview_key_pressed (XtmProcessTreeView *treeview, GdkEventKey *event)
 {
 	guint pid;
 
-	if (event->keyval != GDK_Menu)
+	if (event->keyval != GDK_KEY_Menu)
 		return FALSE;
 
 	{

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


More information about the Xfce4-commits mailing list