[gtk+/gtk-2-24] FileChooserDefault: Fix misleading indentation
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] FileChooserDefault: Fix misleading indentation
- Date: Fri, 1 Sep 2017 15:36:53 +0000 (UTC)
commit 68e2f276f20b324785592152e357dde551bff2dd
Author: Daniel Boles <dboles src gnome org>
Date: Fri Sep 1 15:11:17 2017 +0100
FileChooserDefault: Fix misleading indentation
which caused a compiler warning. Update to match 3.22’s indentation.
gtk/gtkfilechooserdefault.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index b254afe..fb982a3 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -8557,14 +8557,15 @@ file_exists_get_info_cb (GCancellable *cancellable,
g_assert_not_reached();
}
- if (needs_parent_check) {
- /* check that everything up to the last path component exists (i.e. the parent) */
+ if (needs_parent_check)
+ {
+ /* check that everything up to the last path component exists (i.e. the parent) */
- data->file_exists_and_is_not_folder = file_exists && !is_folder;
- data_ownership_taken = TRUE;
+ data->file_exists_and_is_not_folder = file_exists && !is_folder;
+ data_ownership_taken = TRUE;
- if (data->impl->should_respond_get_info_cancellable)
- g_cancellable_cancel (data->impl->should_respond_get_info_cancellable);
+ if (data->impl->should_respond_get_info_cancellable)
+ g_cancellable_cancel (data->impl->should_respond_get_info_cancellable);
data->impl->should_respond_get_info_cancellable =
_gtk_file_system_get_info (data->impl->file_system,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]