[gtk+] colorsel: Remove WINDOWING ifdef
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] colorsel: Remove WINDOWING ifdef
- Date: Sat, 12 Feb 2011 21:17:23 +0000 (UTC)
commit a1d96af9ed87c754b8291c05aee9ed0945120f6e
Author: Benjamin Otte <otte redhat com>
Date: Sat Feb 12 21:50:52 2011 +0100
colorsel: Remove WINDOWING ifdef
That one was leftover from the times when GDK didn't allow pointer
warping and we had an X11-specific solution.
gtk/gtkcolorsel.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index cc55ab3..febb1a9 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -1845,7 +1845,6 @@ key_press (GtkWidget *invisible,
return TRUE;
-#if defined GDK_WINDOWING_X11 || defined GDK_WINDOWING_WIN32
case GDK_KEY_Up:
case GDK_KEY_KP_Up:
dy = state == GDK_MOD1_MASK ? -BIG_STEP : -1;
@@ -1865,7 +1864,6 @@ key_press (GtkWidget *invisible,
case GDK_KEY_KP_Right:
dx = state == GDK_MOD1_MASK ? BIG_STEP : 1;
break;
-#endif
default:
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]