summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-26 17:02:43 +0200
committerraveit65 <[email protected]>2021-11-25 18:34:48 +0100
commit95f36a96354422e55b5519e0bbcc7df04432dab2 (patch)
tree45f1dbc3149e2251bd23683edbc494b35435bb79
parent988e071b6bb8c358f44fa4f243af38db260c4888 (diff)
downloadmate-utils-95f36a96354422e55b5519e0bbcc7df04432dab2.tar.bz2
mate-utils-95f36a96354422e55b5519e0bbcc7df04432dab2.tar.xz
logview: remove whitespaces before #if, #else, and #endif
-rw-r--r--logview/src/logview-log.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/logview/src/logview-log.c b/logview/src/logview-log.c
index 10821593..b4aef846 100644
--- a/logview/src/logview-log.c
+++ b/logview/src/logview-log.c
@@ -654,18 +654,18 @@ log_load (GIOSchedulerJob *io_job,
}
log->priv->file_size = g_file_info_get_size (info);
- #if GLIB_CHECK_VERSION(2,61,2)
- GDateTime *file_dt;
- gint64 t;
- file_dt = g_file_info_get_modification_date_time (info);
- t = g_date_time_to_unix (file_dt);
- g_date_time_unref (file_dt);
- log->priv->file_time = t;
- #else
- GTimeVal time_val;
- g_file_info_get_modification_time (info, &time_val);
- log->priv->file_time = time_val.tv_sec;
- #endif
+#if GLIB_CHECK_VERSION(2,61,2)
+ GDateTime *file_dt;
+ gint64 t;
+ file_dt = g_file_info_get_modification_date_time (info);
+ t = g_date_time_to_unix (file_dt);
+ g_date_time_unref (file_dt);
+ log->priv->file_time = t;
+#else
+ GTimeVal time_val;
+ g_file_info_get_modification_time (info, &time_val);
+ log->priv->file_time = time_val.tv_sec;
+#endif
log->priv->display_name = g_strdup (g_file_info_get_display_name (info));