summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorsel.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-12-20 15:05:47 +0100
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:07:06 -0500
commit66f7c3a5622e5eacafa70b076bbfa7457f2c0345 (patch)
tree9d30fda9dd661404e655467bab41798fac19aaf6 /gtk/gtkcolorsel.c
parent7a3359223179468b42fa0130457ec60694ce6ec1 (diff)
downloadgtk+-66f7c3a5622e5eacafa70b076bbfa7457f2c0345.tar.gz
API: gdk: gdk_display_warp_device() => gdk_device_warp()
warping devices has nothing to do with displays, so putting it there seems weird.
Diffstat (limited to 'gtk/gtkcolorsel.c')
-rw-r--r--gtk/gtkcolorsel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index 9948090afd..8f90a8911e 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -1866,7 +1866,7 @@ key_press (GtkWidget *invisible,
return FALSE;
}
- gdk_display_warp_device (display, pointer_device, screen, x + dx, y + dy);
+ gdk_device_warp (pointer_device, screen, x + dx, y + dy);
return TRUE;