From f600ee369230b4bed0cff98b350f0056cf8ca95f Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Fri, 11 Sep 2020 11:19:54 +0100 Subject: [PATCH] use SPACING const --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 8687605..cf8f091 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,7 @@ fn build_ui(application: >k::Application) { let window = gtk::ApplicationWindow::new(application); window.set_title("youtube-dl"); - window.set_border_width(10); + window.set_border_width(SPACING as u32); window.set_position(gtk::WindowPosition::Center); window.set_default_size(400, 100);