aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-10 17:23:08 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-11 16:29:44 +0800
commit19fe264f32b68246b21b0db8eb2694a159b833f2 (patch)
tree31e4b27ed5b65a0da2c798bf67e1ad4432f587c5 /libempathy-gtk
parent9b50f0ae49e9c99995ed5289eab656aede142c6b (diff)
downloadgsoc2013-empathy-19fe264f32b68246b21b0db8eb2694a159b833f2.tar
gsoc2013-empathy-19fe264f32b68246b21b0db8eb2694a159b833f2.tar.gz
gsoc2013-empathy-19fe264f32b68246b21b0db8eb2694a159b833f2.tar.bz2
gsoc2013-empathy-19fe264f32b68246b21b0db8eb2694a159b833f2.tar.lz
gsoc2013-empathy-19fe264f32b68246b21b0db8eb2694a159b833f2.tar.xz
gsoc2013-empathy-19fe264f32b68246b21b0db8eb2694a159b833f2.tar.zst
gsoc2013-empathy-19fe264f32b68246b21b0db8eb2694a159b833f2.zip
stop using gdk_window_get_pointer()
It has been deprecated. gdk_window_get_device_position() has been added in GTK+ 3.0 so we're fine. https://bugzilla.gnome.org/show_bug.cgi?id=662903
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat-text-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat-text-view.c b/libempathy-gtk/empathy-chat-text-view.c
index 248999427..f52ad28d5 100644
--- a/libempathy-gtk/empathy-chat-text-view.c
+++ b/libempathy-gtk/empathy-chat-text-view.c
@@ -151,7 +151,7 @@ chat_text_view_event_cb (EmpathyChatTextView *view,
return FALSE;
}
- gdk_window_get_pointer (win, &x, &y, NULL);
+ gdk_window_get_device_position (win, event->device, &x, &y, NULL);
/* Get the iter where the cursor is at */
gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (view), type,