summaryrefslogtreecommitdiff
path: root/src/eom-print-preview.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-09-01 18:46:49 +0200
committerinfirit <[email protected]>2015-09-06 13:08:31 +0200
commit35e40d42b54aab81f37323e4f7830318f9db6bf1 (patch)
tree1996542947a7e3456be4f860b3b27238060476d7 /src/eom-print-preview.c
parenta3ea605d8d2834a1842d2417dfc98c3a2ccc9177 (diff)
downloadeom-35e40d42b54aab81f37323e4f7830318f9db6bf1.tar.bz2
eom-35e40d42b54aab81f37323e4f7830318f9db6bf1.tar.xz
Gtk3: don't use deprecated gdk_window_get_pointer
inspired from: https://git.gnome.org/browse/eog/commit/?id=16f37f2 For some reason most of the commit was already done at https://github.com/mate-desktop/eom/commit/971e627
Diffstat (limited to 'src/eom-print-preview.c')
-rw-r--r--src/eom-print-preview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eom-print-preview.c b/src/eom-print-preview.c
index a8049b3..a985a7f 100644
--- a/src/eom-print-preview.c
+++ b/src/eom-print-preview.c
@@ -588,9 +588,10 @@ expose_event_cb (GtkDrawingArea *drawing_area,
#if !GTK_CHECK_VERSION (3, 0, 0)
cairo_destroy (cr);
-#endif
gdk_window_get_pointer (gtk_widget_get_window (widget), NULL, NULL, NULL);
+#endif
+
#if GTK_CHECK_VERSION (3, 0, 0)
return TRUE;
#endif