[gnome-commander: 1/2] GnomeCmdFile::get_adate: fix compilation
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander: 1/2] GnomeCmdFile::get_adate: fix compilation
- Date: Thu, 18 Nov 2021 09:24:02 +0000 (UTC)
commit bcc110e1751c4c8626ceb2af4b606f7b5c0d9d8c
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date: Thu Nov 18 14:48:27 2021 +0900
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]