[xdg-desktop-portal-gnome/gbsneto/remember-last-location: 1/3] filechooser: Trivial style cleanup
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xdg-desktop-portal-gnome/gbsneto/remember-last-location: 1/3] filechooser: Trivial style cleanup
- Date: Tue, 30 Aug 2022 20:26:11 +0000 (UTC)
commit f844f438c753dd1abff9f438a0c1593a0e05cc63
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Aug 30 17:22:22 2022 -0300
filechooser: Trivial style cleanup
src/filechooser.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/filechooser.c b/src/filechooser.c
index b4e89e1..85d70c5 100644
--- a/src/filechooser.c
+++ b/src/filechooser.c
@@ -179,10 +179,11 @@ send_response (FileDialogHandle *handle)
g_variant_builder_add (&uri_builder, "s", l->data);
}
- if (handle->filter) {
- GVariant *current_filter_variant = gtk_file_filter_to_gvariant (handle->filter);
- g_variant_builder_add (&opt_builder, "{sv}", "current_filter", current_filter_variant);
- }
+ if (handle->filter)
+ {
+ GVariant *current_filter_variant = gtk_file_filter_to_gvariant (handle->filter);
+ g_variant_builder_add (&opt_builder, "{sv}", "current_filter", current_filter_variant);
+ }
g_variant_builder_add (&opt_builder, "{sv}", "uris", g_variant_builder_end (&uri_builder));
g_variant_builder_add (&opt_builder, "{sv}", "writable", g_variant_new_boolean (handle->allow_write));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]