parent
b9eefba22d
commit
62328f2e1b
@ -0,0 +1,29 @@
|
||||
From 6ea18afd328fcaa9e6ea2200ef53da5dd9d1e36f Mon Sep 17 00:00:00 2001
|
||||
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
|
||||
Date: Thu, 18 Nov 2021 14:48:27 +0900
|
||||
Subject: [PATCH] GnomeCmdFile::get_adate: fix compilation
|
||||
|
||||
ref: ec93dcb7c304c8b45ecc9c18ca3ec833bf248601
|
||||
ref: 5eccc4a6c892df41ebe845eb80fbd6b4ff9b99fb
|
||||
|
||||
`GnomeVFSFileInfo *info` is removed from `struct GnomeCmdFile` .
|
||||
---
|
||||
src/gnome-cmd-file.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
|
||||
index 57ad963c..d7237285 100644
|
||||
--- a/src/gnome-cmd-file.cc
|
||||
+++ b/src/gnome-cmd-file.cc
|
||||
@@ -671,7 +671,7 @@ inline const gchar *date2string (GDateTime *date, gboolean overide_disp_setting)
|
||||
#ifdef GLIB_2_70
|
||||
const gchar *GnomeCmdFile::get_adate(gboolean overide_disp_setting)
|
||||
{
|
||||
- g_return_val_if_fail (info != nullptr, nullptr);
|
||||
+ g_return_val_if_fail (gFileInfo != nullptr, nullptr);
|
||||
|
||||
return date2string (g_file_info_get_access_date_time(gFileInfo), overide_disp_setting);
|
||||
}
|
||||
--
|
||||
2.33.1
|
||||
|
Loading…
Reference in new issue