[epiphany] prefs-dialog: Code style fixes



commit f7e16f23c9583f636e78fb341343c0b4d1e47be1
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu Mar 7 10:37:57 2019 -0600

    prefs-dialog: Code style fixes
    
    There's an indentation snafu in my previous commit.
    
    Also, clean up one of these weird old returns.

 src/prefs-dialog.c   | 5 +++--
 subprojects/libhandy | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index bd36daccb..468fe3961 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1601,7 +1601,7 @@ create_language_section (PrefsDialog *dialog)
       if (normalized_locale != NULL) {
         g_autofree char *language_name = language_for_locale (normalized_locale);
         if (language_name == NULL)
-            language_name = g_strdup (normalized_locale);
+          language_name = g_strdup (normalized_locale);
         language_editor_add (dialog, normalized_locale, language_name);
       }
     }
@@ -1635,7 +1635,8 @@ download_path_changed_cb (GtkFileChooser *button)
   char *dir;
 
   dir = gtk_file_chooser_get_filename (button);
-  if (dir == NULL) return;
+  if (dir == NULL)
+    return;
 
   g_settings_set_string (EPHY_SETTINGS_STATE,
                          EPHY_PREFS_STATE_DOWNLOAD_DIR, dir);
diff --git a/subprojects/libhandy b/subprojects/libhandy
index 56b0aa62f..96c040cac 160000
--- a/subprojects/libhandy
+++ b/subprojects/libhandy
@@ -1 +1 @@
-Subproject commit 56b0aa62f6251ee19a88fc208b7ca8dcf9c9633c
+Subproject commit 96c040cacdf3ae1fcef37a003199ed8b61c0fba7


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