[gnome-commander] noop: style
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: style
- Date: Fri, 27 Aug 2021 18:14:07 +0000 (UTC)
commit 37ee5579e4ac529170b4321b31b856ea7566a6ec
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sun Aug 22 22:24:38 2021 +0200
noop: style
src/dialogs/gnome-cmd-mkdir-dialog.cc | 4 ++--
src/gnome-cmd-file-list.cc | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-mkdir-dialog.cc b/src/dialogs/gnome-cmd-mkdir-dialog.cc
index 2dc09534..2883d0df 100644
--- a/src/dialogs/gnome-cmd-mkdir-dialog.cc
+++ b/src/dialogs/gnome-cmd-mkdir-dialog.cc
@@ -69,13 +69,13 @@ GSList *make_gfile_list (GnomeCmdDir *dir, string filename)
GSList *gFile_list = NULL;
if (g_path_is_absolute (filename.c_str()))
- while (filename.compare("/")!=0)
+ while (filename.compare("/") != 0)
{
gFile_list = g_slist_prepend (gFile_list, gnome_cmd_dir_get_absolute_path_gfile (dir, filename));
stringify (filename, g_path_get_dirname (filename.c_str()));
}
else
- while (filename.compare(".")!=0) // support for mkdir -p
+ while (filename.compare(".") != 0)
{
gFile_list = g_slist_prepend (gFile_list, gnome_cmd_dir_get_child_gfile (dir, filename.c_str()));
stringify (filename, g_path_get_dirname (filename.c_str()));
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index d2a4b31c..50bb7348 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -3077,9 +3077,9 @@ inline void restore_drag_indicator (GnomeCmdFileList *fl)
}
-static void unref_uri_list (GList *list)
+static void unref_gfile_list (GList *list)
{
- g_list_foreach (list, (GFunc) gnome_vfs_uri_unref, nullptr);
+ g_list_foreach (list, (GFunc) g_object_unref, nullptr);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]