File: update-deps.patch

package info (click to toggle)
loupe 49.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,360 kB
  • sloc: python: 110; makefile: 36
file content (32 lines) | stat: -rw-r--r-- 1,140 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Sophie Herold <sophie@hemio.de>
Date: Thu, 4 Dec 2025 05:38:59 +0100
Subject: [PATCH] cargo: Update deps

---
 src/widgets/image_window.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/widgets/image_window.rs b/src/widgets/image_window.rs
index d91246d..afcf0b7 100644
--- a/src/widgets/image_window.rs
+++ b/src/widgets/image_window.rs
@@ -41,9 +41,9 @@ use gtk::Widget;
 use crate::application::LpApplication;
 use crate::config;
 use crate::deps::*;
+use crate::util::Direction;
 use crate::util::gettext::*;
 use crate::util::root::ParentWindow;
-use crate::util::Direction;
 use crate::widgets::window::ActionPartGlobal;
 use crate::widgets::{LpDragOverlay, LpImage, LpImageView, LpPropertiesView};

@@ -690,7 +690,7 @@ impl LpImageWindow {
         ]);
         dialog.set_response_appearance("delete", adw::ResponseAppearance::Destructive);

-        if "delete" == dialog.choose_future(self).await {
+        if "delete" == dialog.choose_future(Some(self)).await {
             let file = gio::File::for_path(path);
             let result = file.delete_future(glib::Priority::default()).await;