aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/terminal.vala
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-18 17:19:53 +0200
committerWolfgang Müller2021-06-19 15:53:07 +0200
commit701acd04c7cc684109c88521cea93bdc84405752 (patch)
treef664c3be7696f3c7848ecf344a54d870f6549859 /terminal.vala
parent5ec197703d75860571612fa3785e8578288fcdd3 (diff)
downloadweltschmerz-701acd04c7cc684109c88521cea93bdc84405752.tar.gz
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
Diffstat (limited to '')
-rw-r--r--terminal.vala2
1 files changed, 1 insertions, 1 deletions
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);