[evince/wip/gpoo/gtk4-rebase-port: 81/96] ev-view: enable opening attachment
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/gtk4-rebase-port: 81/96] ev-view: enable opening attachment
- Date: Sun, 20 Mar 2022 21:50:30 +0000 (UTC)
commit 82dbeb9577eb3c01f346d7200659a5a0bacabe53
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date: Fri Aug 27 15:52:54 2021 +0800
ev-view: enable opening attachment
Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>
libview/ev-view.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index ca93717e4..b9d76ed98 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -3589,13 +3589,10 @@ ev_view_handle_annotation (EvView *view,
if (attachment) {
GError *error = NULL;
-#if 0
-
ev_attachment_open (attachment,
- gtk_widget_get_screen (GTK_WIDGET (view)),
+ gtk_widget_get_display (GTK_WIDGET (view)),
timestamp,
&error);
-#endif
if (error) {
g_warning ("%s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]