summaryrefslogtreecommitdiff
path: root/recipes-graphics/gpicview/gpicview/0001-Add-missing-return-value.patch
blob: bdd40d46cf74975a71b0ff9a178bbaa01859ac82 (plain)
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
From f7f8e64a78de237825bec9a54906d2b120ecc9f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ingo=20Br=C3=BCckl?= <ib@wupperonline.de>
Date: Mon, 17 Jul 2023 14:52:07 +0200
Subject: [PATCH] Add missing return value

Based on https://sourceforge.net/p/lxde/patches/460.

Upstream-Status: Backport [https://github.com/lxde/gpicview/commit/f7f8e64a78de237825bec9a54906d2b120ecc9f1]
---
 src/main-win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main-win.c b/src/main-win.c
index 32f6433..09eeb34 100644
--- a/src/main-win.c
+++ b/src/main-win.c
@@ -378,7 +378,7 @@ gboolean main_win_open( MainWin* mw, const char* file_path, ZoomMode zoom )
         image_list_sort_by_name( mw->img_list, GTK_SORT_DESCENDING );
         if (image_list_get_first(mw->img_list))
             main_win_open(mw, image_list_get_current_file_path(mw->img_list), zoom);
-        return;
+        return TRUE;
     }
 
 
-- 
2.42.0