summary refs log tree commit diff
path: root/pkgs/applications/graphics/rawtherapee/fix-glibmm-output.patch
blob: 3c87ce64e26b08484ea9cae5ed4e5aa132534c37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From ca0afa8d5f3cc7d09b6bab32d155a87c550f0d7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fl=C3=B6ssie?= <floessie.mail@gmail.com>
Date: Sat, 1 Oct 2016 12:38:24 +0200
Subject: [PATCH] Fix incompatibility with glibmm 2.50 (#3440)

Kudos to @Hombre57 for the suggestion.
---
 rtgui/dirbrowser.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtgui/dirbrowser.cc b/rtgui/dirbrowser.cc
index d3fc8bf..6f25f0f 100644
--- a/rtgui/dirbrowser.cc
+++ b/rtgui/dirbrowser.cc
@@ -59,7 +59,7 @@ std::vector<Glib::ustring> listSubDirs (const Glib::RefPtr<Gio::File>& dir, bool
     } catch (const Glib::Exception& exception) {
 
         if (options.rtSettings.verbose) {
-            std::cerr << "Failed to list subdirectories of \"" << dir << "\": " << exception.what () << std::endl;
+            std::cerr << "Failed to list subdirectories of \"" << dir->get_basename() << "\": " << exception.what () << std::endl;
         }
 
     }