diff options
author | Benjamin Otte <otte@redhat.com> | 2011-10-28 13:18:31 -0700 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-11-02 02:32:54 +0100 |
commit | 9788bfac894cb6213dc6aae6689247eeb3f4d6cc (patch) | |
tree | ea156a67688680f08861b44ae9b680e4fed3725c /demos | |
parent | 86af3ea4e9bac971f4c4314f595d0a102dac677e (diff) | |
download | gtk+-9788bfac894cb6213dc6aae6689247eeb3f4d6cc.tar.gz |
gtk-demo: Don't use deprecated code
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/drawingarea.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/drawingarea.c b/demos/gtk-demo/drawingarea.c index bd9b1e9aca..f3aa13865c 100644 --- a/demos/gtk-demo/drawingarea.c +++ b/demos/gtk-demo/drawingarea.c @@ -126,7 +126,7 @@ scribble_motion_notify_event (GtkWidget *widget, * can cope. */ - gdk_window_get_pointer (event->window, &x, &y, &state); + gdk_window_get_device_position (event->window, event->device, &x, &y, &state); if (state & GDK_BUTTON1_MASK) draw_brush (widget, x, y); |