From 701acd04c7cc684109c88521cea93bdc84405752 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 18 Jun 2021 17:19:53 +0200 Subject: Remove trailing comma from geometry initializer Commit c49fbfb (Set minimum width and height in window geometry, 2021-06-17) introduced a trailing comma to make subsequent changes to the initializer less of a hassle. However, Vala only accepts trailing commas starting with 0.52.3 [1]. It would be petty to require this version, especially since older versions of Vala can still compile weltschmerz without problems. [1] https://gitlab.gnome.org/GNOME/vala/-/commit/20fcf9ce42dca52c707b96ddf7457931d6ee96f5 --- terminal.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.vala b/terminal.vala index 6c99cac..93d2764 100644 --- a/terminal.vala +++ b/terminal.vala @@ -93,7 +93,7 @@ class Terminal : Gtk.Overlay { min_width = char_width, min_height = char_height, width_inc = char_width, - height_inc = char_height, + height_inc = char_height }; window.set_geometry_hints(null, geometry, BASE_SIZE | RESIZE_INC | MIN_SIZE); -- cgit v1.2.3-2-gb3c3