From c5198be90cf7c1a4141f7463a67218201e7cd429 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Wed, 30 Nov 2016 16:30:53 +0100 Subject: [PATCH] Fix compiler warning about misleading indentation --- src/gnome/gnc-split-reg.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gnome/gnc-split-reg.c b/src/gnome/gnc-split-reg.c index a3362139d7..a96f4e1fe0 100644 --- a/src/gnome/gnc-split-reg.c +++ b/src/gnome/gnc-split-reg.c @@ -1042,24 +1042,24 @@ gsr_default_associate_handler_file( GNCSplitReg *gsr, gpointer data ) if (is_trans_readonly_and_warn(trans)) return; - dialog = gtk_file_chooser_dialog_new ("Associate File with Transaction", + dialog = gtk_file_chooser_dialog_new ("Associate File with Transaction", GTK_WINDOW(gsr->window), GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); - gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER(dialog), 0); - if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) - { - char *uri; + gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER(dialog), 0); + if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) + { + char *uri; - uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog)); + uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog)); DEBUG("File URI: %s\n", uri); - xaccTransSetAssociation(trans, uri); + xaccTransSetAssociation(trans, uri); } - gtk_widget_destroy (dialog); + gtk_widget_destroy (dialog); }