summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-misc.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-24 17:14:26 +0200
committerraveit65 <[email protected]>2016-06-29 16:23:03 +0200
commitaa9a83b64ac38330991168ab799d482960e07437 (patch)
treec2004fa518b41740fd221939c581470fa464c86d /libdocument/ev-document-misc.h
parente3aaf39c9ca3fa3dc3d030caef68f28b8a27b086 (diff)
downloadatril-aa9a83b64ac38330991168ab799d482960e07437.tar.bz2
atril-aa9a83b64ac38330991168ab799d482960e07437.tar.xz
GTK+-3: Use ev_document_misc_get_pointer_position() instad of deprecated gtk_widget_get_pointer()
Diffstat (limited to 'libdocument/ev-document-misc.h')
-rw-r--r--libdocument/ev-document-misc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdocument/ev-document-misc.h b/libdocument/ev-document-misc.h
index 3eac99a1..e6ddf02a 100644
--- a/libdocument/ev-document-misc.h
+++ b/libdocument/ev-document-misc.h
@@ -62,6 +62,12 @@ gdouble ev_document_misc_get_screen_dpi (GdkScreen *screen);
gchar *ev_document_misc_format_date (GTime utime);
+#if GTK_CHECK_VERSION(3, 0, 0)
+void ev_document_misc_get_pointer_position (GtkWidget *widget,
+ gint *x,
+ gint *y);
+#endif
+
G_END_DECLS
#endif /* EV_DOCUMENT_MISC_H */