[nautilus] general: rerun uncrustify in compress-dialog-controller



commit 24ced54ee43854104a62d81e4ec30480bd0f1f3c
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Sep 6 15:20:57 2016 +0200

    general: rerun uncrustify in compress-dialog-controller
    
    Seems the case statements adjustment are buggy in uncrustify.
    Added a new line at the start of the file, reran uncrustify and it
    worked. Removing the new line doesn't affect the output anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770564

 src/nautilus-compress-dialog-controller.c |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-compress-dialog-controller.c b/src/nautilus-compress-dialog-controller.c
index b9cb834..6741e26 100644
--- a/src/nautilus-compress-dialog-controller.c
+++ b/src/nautilus-compress-dialog-controller.c
@@ -110,26 +110,34 @@ update_selected_format (NautilusCompressDialogController *self,
     switch (format)
     {
         case NAUTILUS_COMPRESSION_ZIP:
+        {
             extension = ".zip";
             description = ZIP_DESCRIPTION;
             active_button = self->zip_radio_button;
-            break;
+        }
+        break;
 
         case NAUTILUS_COMPRESSION_TAR_XZ:
+        {
             extension = ".tar.xz";
             description = TAR_XZ_DESCRIPTION;
             active_button = self->tar_xz_radio_button;
-            break;
+        }
+        break;
 
         case NAUTILUS_COMPRESSION_7ZIP:
+        {
             extension = ".7z";
             description = SEVEN_ZIP_DESCRIPTION;
             active_button = self->seven_zip_radio_button;
-            break;
+        }
+        break;
 
         default:
+        {
             g_assert_not_reached ();
-            break;
+        }
+        break;
     }
 
     self->extension = extension;


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