[gtk+] testgtk: Don't use deprecated functions in properties example
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] testgtk: Don't use deprecated functions in properties example
- Date: Wed, 9 Nov 2011 02:47:49 +0000 (UTC)
commit f41262320c20c60d46489a936b0cae9c68062a9f
Author: Benjamin Otte <otte redhat com>
Date: Wed Nov 9 03:13:43 2011 +0100
testgtk: Don't use deprecated functions in properties example
tests/testgtk.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 2680f96..53ec833 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -8321,8 +8321,9 @@ find_widget_at_pointer (GdkDevice *device)
if (widget)
{
- gdk_window_get_pointer (gtk_widget_get_window (widget),
- &x, &y, NULL);
+ gdk_window_get_device_position (gtk_widget_get_window (widget),
+ device,
+ &x, &y, NULL);
data.x = x;
data.y = y;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]