summaryrefslogtreecommitdiff
path: root/tests/testinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testinput.c')
-rw-r--r--tests/testinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testinput.c b/tests/testinput.c
index eb256bddfb..667ff3ee1f 100644
--- a/tests/testinput.c
+++ b/tests/testinput.c
@@ -313,7 +313,7 @@ main (int argc, char *argv[])
gtk_init (&argc, &argv);
- current_device = gdk_core_pointer;
+ current_device = gdk_device_get_core_pointer ();
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name (window, "Test Input");