[nautilus/wip/antoniof/switch-case-braces-style-fix] test




commit a0d13f2cc107d0a2ba0e86fffb505c85c8b9113b
Author: António Fernandes <antoniof gnome org>
Date:   Sun Jul 11 14:11:13 2021 +0100

    test

 data/run-uncrustify.sh   | 2 ++
 src/nautilus-previewer.c | 1 +
 2 files changed, 3 insertions(+)
---
diff --git a/data/run-uncrustify.sh b/data/run-uncrustify.sh
index 78ac8d6cd..f6c463439 100755
--- a/data/run-uncrustify.sh
+++ b/data/run-uncrustify.sh
@@ -15,6 +15,8 @@ Copy the program in the (build directory)/data/lineup-parameters here in (source
     exit 1
 fi
 
+"$UNCRUSTIFY" -p - -c "$DATA/uncrustify.cfg" --no-backup -f "$DATA/../src/nautilus-previewer.c"
+
 for DIR in "$DATA/../"{src,test,libnautilus-extension,eel,extensions}
 do
     for FILE in $(find "$DIR" -name "*.c" -not -path "*/gtk/*" -not -path "*/animation/*" -not -path 
"*/audio-video-properties/*")
diff --git a/src/nautilus-previewer.c b/src/nautilus-previewer.c
index 66074ab93..738f88e12 100644
--- a/src/nautilus-previewer.c
+++ b/src/nautilus-previewer.c
@@ -37,6 +37,7 @@
 #define PREVIEWER2_DBUS_IFACE "org.gnome.NautilusPreviewer2"
 #define PREVIEWER_DBUS_PATH "/org/gnome/NautilusPreviewer"
 
+struct dummy_statement_to_fool_uncrustify;
 static GDBusProxy *previewer_v2_proxy = NULL;
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]