summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2023-04-23 22:27:02 +0100
committerAntónio Fernandes <antoniof@gnome.org>2023-04-23 22:33:28 +0100
commitfc8feaea808318b282ab21f2dd4034b18b6cfb27 (patch)
treef3b7fcf51b9fd111f2016f122b0592c95a9bfec5
parenteb6f82495ee38105f5297938fa4353bd2cf835ad (diff)
downloadnautilus-fc8feaea808318b282ab21f2dd4034b18b6cfb27.tar.gz
general: Fix indentation nitpicks
Pass new uncrustify criteria. No logic changes.
-rw-r--r--src/nautilus-file-utilities.c4
-rw-r--r--src/nautilus-files-view-dnd.c2
-rw-r--r--src/nautilus-history-controls.c2
-rw-r--r--src/nautilus-preferences-window.c16
-rw-r--r--src/nautilus-previewer.c2
-rw-r--r--src/nautilus-rename-file-popover-controller.c2
-rw-r--r--src/nautilus-search-engine-recent.c10
-rw-r--r--src/nautilus-search-engine-simple.c18
-rw-r--r--src/nautilus-tag-manager.c20
9 files changed, 38 insertions, 38 deletions
diff --git a/src/nautilus-file-utilities.c b/src/nautilus-file-utilities.c
index efe42a09c..e8f1ca2fb 100644
--- a/src/nautilus-file-utilities.c
+++ b/src/nautilus-file-utilities.c
@@ -639,8 +639,8 @@ special_directory_get_icon (GUserDirectory directory,
gboolean symbolic)
{
#define ICON_CASE(x) \
- case G_USER_DIRECTORY_ ## x: \
- return (symbolic) ? g_themed_icon_new (NAUTILUS_ICON_FOLDER_ ## x) : g_themed_icon_new (NAUTILUS_ICON_FULLCOLOR_FOLDER_ ## x);
+ case G_USER_DIRECTORY_ ## x: \
+ return (symbolic) ? g_themed_icon_new (NAUTILUS_ICON_FOLDER_ ## x) : g_themed_icon_new (NAUTILUS_ICON_FULLCOLOR_FOLDER_ ## x);
switch (directory)
{
diff --git a/src/nautilus-files-view-dnd.c b/src/nautilus-files-view-dnd.c
index f6e334b81..457eb8cf0 100644
--- a/src/nautilus-files-view-dnd.c
+++ b/src/nautilus-files-view-dnd.c
@@ -41,7 +41,7 @@
#include "nautilus-ui-utilities.h"
#define GET_ANCESTOR(obj) \
- GTK_WINDOW (gtk_widget_get_ancestor (GTK_WIDGET (obj), GTK_TYPE_WINDOW))
+ GTK_WINDOW (gtk_widget_get_ancestor (GTK_WIDGET (obj), GTK_TYPE_WINDOW))
#define MAX_LEN_FILENAME 64
#define MIN_LEN_FILENAME 8
diff --git a/src/nautilus-history-controls.c b/src/nautilus-history-controls.c
index 8b14cd63c..e0d678632 100644
--- a/src/nautilus-history-controls.c
+++ b/src/nautilus-history-controls.c
@@ -43,7 +43,7 @@ fill_menu (NautilusHistoryControls *self,
const gchar *name;
list = back ? nautilus_window_slot_get_back_history (self->window_slot) :
- nautilus_window_slot_get_forward_history (self->window_slot);
+ nautilus_window_slot_get_forward_history (self->window_slot);
index = 0;
while (list != NULL)
diff --git a/src/nautilus-preferences-window.c b/src/nautilus-preferences-window.c
index 4a6477d29..a436231cd 100644
--- a/src/nautilus-preferences-window.c
+++ b/src/nautilus-preferences-window.c
@@ -38,23 +38,23 @@
/* bool preferences */
#define NAUTILUS_PREFERENCES_DIALOG_FOLDERS_FIRST_WIDGET \
- "sort_folders_first_switch"
+ "sort_folders_first_switch"
#define NAUTILUS_PREFERENCES_DIALOG_DELETE_PERMANENTLY_WIDGET \
- "show_delete_permanently_switch"
+ "show_delete_permanently_switch"
#define NAUTILUS_PREFERENCES_DIALOG_CREATE_LINK_WIDGET \
- "show_create_link_switch"
+ "show_create_link_switch"
#define NAUTILUS_PREFERENCES_DIALOG_LIST_VIEW_USE_TREE_WIDGET \
- "use_tree_view_switch"
+ "use_tree_view_switch"
/* combo preferences */
#define NAUTILUS_PREFERENCES_DIALOG_OPEN_ACTION_COMBO \
- "open_action_row"
+ "open_action_row"
#define NAUTILUS_PREFERENCES_DIALOG_SEARCH_RECURSIVE_ROW \
- "search_recursive_row"
+ "search_recursive_row"
#define NAUTILUS_PREFERENCES_DIALOG_THUMBNAILS_ROW \
- "thumbnails_row"
+ "thumbnails_row"
#define NAUTILUS_PREFERENCES_DIALOG_COUNT_ROW \
- "count_row"
+ "count_row"
static const char * const speed_tradeoff_values[] =
{
diff --git a/src/nautilus-previewer.c b/src/nautilus-previewer.c
index 66074ab93..3f9d4a86a 100644
--- a/src/nautilus-previewer.c
+++ b/src/nautilus-previewer.c
@@ -37,7 +37,7 @@
#define PREVIEWER2_DBUS_IFACE "org.gnome.NautilusPreviewer2"
#define PREVIEWER_DBUS_PATH "/org/gnome/NautilusPreviewer"
-static GDBusProxy *previewer_v2_proxy = NULL;
+static GDBusProxy * previewer_v2_proxy = NULL;
static gboolean
ensure_previewer_v2_proxy (void)
diff --git a/src/nautilus-rename-file-popover-controller.c b/src/nautilus-rename-file-popover-controller.c
index 0f3b3291e..dfc67b916 100644
--- a/src/nautilus-rename-file-popover-controller.c
+++ b/src/nautilus-rename-file-popover-controller.c
@@ -368,7 +368,7 @@ nautilus_rename_file_popover_controller_show_for_file (NautilusRenameFilePopov
gtk_label_set_text (GTK_LABEL (self->title_label),
self->target_is_folder ? _("Rename Folder") :
- _("Rename File"));
+ _("Rename File"));
edit_name = nautilus_file_get_edit_name (self->target_file);
diff --git a/src/nautilus-search-engine-recent.c b/src/nautilus-search-engine-recent.c
index 288775f4c..8fe50c7e5 100644
--- a/src/nautilus-search-engine-recent.c
+++ b/src/nautilus-search-engine-recent.c
@@ -32,11 +32,11 @@
#include <gio/gio.h>
#define FILE_ATTRIBS G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN "," \
- G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "," \
- G_FILE_ATTRIBUTE_ACCESS_CAN_READ "," \
- G_FILE_ATTRIBUTE_TIME_MODIFIED "," \
- G_FILE_ATTRIBUTE_TIME_ACCESS "," \
- G_FILE_ATTRIBUTE_TIME_CREATED
+ G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "," \
+ G_FILE_ATTRIBUTE_ACCESS_CAN_READ "," \
+ G_FILE_ATTRIBUTE_TIME_MODIFIED "," \
+ G_FILE_ATTRIBUTE_TIME_ACCESS "," \
+ G_FILE_ATTRIBUTE_TIME_CREATED
struct _NautilusSearchEngineRecent
{
diff --git a/src/nautilus-search-engine-simple.c b/src/nautilus-search-engine-simple.c
index bdfa5195d..794178ec0 100644
--- a/src/nautilus-search-engine-simple.c
+++ b/src/nautilus-search-engine-simple.c
@@ -270,15 +270,15 @@ send_batch_in_idle (SearchThreadData *thread_data)
}
#define STD_ATTRIBUTES \
- G_FILE_ATTRIBUTE_STANDARD_NAME "," \
- G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "," \
- G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "," \
- G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN "," \
- G_FILE_ATTRIBUTE_STANDARD_TYPE "," \
- G_FILE_ATTRIBUTE_TIME_MODIFIED "," \
- G_FILE_ATTRIBUTE_TIME_ACCESS "," \
- G_FILE_ATTRIBUTE_TIME_CREATED "," \
- G_FILE_ATTRIBUTE_ID_FILE
+ G_FILE_ATTRIBUTE_STANDARD_NAME "," \
+ G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "," \
+ G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "," \
+ G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN "," \
+ G_FILE_ATTRIBUTE_STANDARD_TYPE "," \
+ G_FILE_ATTRIBUTE_TIME_MODIFIED "," \
+ G_FILE_ATTRIBUTE_TIME_ACCESS "," \
+ G_FILE_ATTRIBUTE_TIME_CREATED "," \
+ G_FILE_ATTRIBUTE_ID_FILE
static void
visit_directory (GFile *dir,
diff --git a/src/nautilus-tag-manager.c b/src/nautilus-tag-manager.c
index 23f89dfeb..2bdde9a20 100644
--- a/src/nautilus-tag-manager.c
+++ b/src/nautilus-tag-manager.c
@@ -69,18 +69,18 @@ enum
};
#define QUERY_STARRED_FILES \
- "SELECT ?file " \
- "{ " \
- " ?file a nautilus:File ; " \
- " nautilus:starred true . " \
- "}"
+ "SELECT ?file " \
+ "{ " \
+ " ?file a nautilus:File ; " \
+ " nautilus:starred true . " \
+ "}"
#define QUERY_FILE_IS_STARRED \
- "ASK " \
- "{ " \
- " ~file a nautilus:File ; " \
- " nautilus:starred true . " \
- "}"
+ "ASK " \
+ "{ " \
+ " ~file a nautilus:File ; " \
+ " nautilus:starred true . " \
+ "}"
static guint signals[LAST_SIGNAL];