diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-11-30 21:35:21 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-11-30 21:35:21 +0100 |
commit | 838691f27a78aa52e5dded5dc13867ebf4746a1c (patch) | |
tree | 4e3aa39176d8f00b906a077c624d554bb79614a2 /src/nautilus-properties-window.c | |
parent | 3050a9c6e2131aa96faf3516e86711ad0dd4c0c1 (diff) | |
download | nautilus-838691f27a78aa52e5dded5dc13867ebf4746a1c.tar.gz |
general: format code with newer Uncrustify
Some issues were fixed, and now we can rerun Uncrustify to format
correctly more part of the code.
Diffstat (limited to 'src/nautilus-properties-window.c')
-rw-r--r-- | src/nautilus-properties-window.c | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index ec80d4e2f..20cff3453 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -5363,16 +5363,16 @@ real_response (GtkDialog *dialog, case GTK_RESPONSE_NONE: case GTK_RESPONSE_CLOSE: case GTK_RESPONSE_DELETE_EVENT: - { - gtk_widget_destroy (GTK_WIDGET (dialog)); - } - break; + { + gtk_widget_destroy (GTK_WIDGET (dialog)); + } + break; default: - { - g_assert_not_reached (); - } - break; + { + g_assert_not_reached (); + } + break; } } @@ -5592,30 +5592,30 @@ custom_icon_file_chooser_response_cb (GtkDialog *dialog, switch (response) { case GTK_RESPONSE_NO: - { - reset_icon (window); - } - break; + { + reset_icon (window); + } + break; case GTK_RESPONSE_OK: + { + uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog)); + if (uri != NULL) { - uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog)); - if (uri != NULL) - { - set_icon (uri, window); - } - else - { - reset_icon (window); - } - g_free (uri); + set_icon (uri, window); } - break; - - default: + else { + reset_icon (window); } - break; + g_free (uri); + } + break; + + default: + { + } + break; } gtk_widget_hide (GTK_WIDGET (dialog)); |