[gnome-dictionary] gdict: Drop deprecated API from DefBox
- From: Juan R. Garcia Blanco <juanrgar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary] gdict: Drop deprecated API from DefBox
- Date: Sun, 24 Jan 2016 16:29:29 +0000 (UTC)
commit 7e5d94d467b8cc0448918697864b12e57b03949e
Author: Juan R. Garcia Blanco <juanrgar gmail com>
Date: Sun Jan 24 17:26:36 2016 +0100
gdict: Drop deprecated API from DefBox
libgdict/gdict-defbox.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgdict/gdict-defbox.c b/libgdict/gdict-defbox.c
index c1b7b24..8d623be 100644
--- a/libgdict/gdict-defbox.c
+++ b/libgdict/gdict-defbox.c
@@ -1520,14 +1520,14 @@ defbox_visibility_notify_cb (GtkWidget *text_view,
GdictDefbox *defbox)
{
GdkDisplay *display;
- GdkDeviceManager *device_manager;
+ GdkSeat *seat;
GdkDevice *pointer;
gint wx, wy;
gint bx, by;
display = gdk_window_get_display (event->window);
- device_manager = gdk_display_get_device_manager (display);
- pointer = gdk_device_manager_get_client_pointer (device_manager);
+ seat = gdk_display_get_default_seat (display);
+ pointer = gdk_seat_get_pointer (seat);
gdk_window_get_device_position (gtk_widget_get_window (text_view), pointer, &wx, &wy, NULL);
gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (text_view),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]