From d62bcc2cbd10c818ff268001d4a9b15fc4e06b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Moreno?= Date: Mon, 11 Mar 2019 17:46:46 +0100 Subject: [PATCH] Replace tabs with spaces in app macro --- fractal-gtk/src/app/mod.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/fractal-gtk/src/app/mod.rs b/fractal-gtk/src/app/mod.rs index d77175ee..34ffaff4 100644 --- a/fractal-gtk/src/app/mod.rs +++ b/fractal-gtk/src/app/mod.rs @@ -26,16 +26,16 @@ static mut OP: Option>> = None; #[macro_export] macro_rules! APPOP { ($fn: ident, ($($x:ident),*) ) => {{ - let ctx = glib::MainContext::default(); - ctx.invoke(move || { - $( let $x = $x.clone(); )* - if let Some(op) = App::get_op() { - op.lock().unwrap().$fn($($x),*); - } - }); + let ctx = glib::MainContext::default(); + ctx.invoke(move || { + $( let $x = $x.clone(); )* + if let Some(op) = App::get_op() { + op.lock().unwrap().$fn($($x),*); + } + }); }}; ($fn: ident) => {{ - APPOP!($fn, ( ) ); + APPOP!($fn, ( ) ); }} }