Skip to content

Commit

Permalink
These shouldn't be null
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Aug 4, 2024
1 parent 1f00ca3 commit bf34111
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Widgets/DatePicker.vala
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private class He.CalendarWidget : He.Bin {
// Header with month name and arrows
Gtk.Box header_box = new Gtk.Box(Gtk.Orientation.HORIZONTAL, 6);

header_label = new He.Button(null, month_names[month] + " " + year.to_string()) {
header_label = new He.Button("", month_names[month] + " " + year.to_string()) {
halign = Gtk.Align.START,
valign = Gtk.Align.CENTER,
hexpand = true,
Expand All @@ -122,14 +122,14 @@ private class He.CalendarWidget : He.Bin {
header_label.add_css_class("flat");
header_label.clicked.connect(() => toggle_view());

left_arrow = new He.Button("go-previous-symbolic", null) {
left_arrow = new He.Button("go-previous-symbolic", "") {
halign = Gtk.Align.END,
is_disclosure = true,
tooltip_text = _("Previous Month")
};
left_arrow.clicked.connect(() => change_month(-1));

right_arrow = new He.Button("go-next-symbolic", null) {
right_arrow = new He.Button("go-next-symbolic", "") {
halign = Gtk.Align.END,
is_disclosure = true,
margin_end = 18,
Expand Down

0 comments on commit bf34111

Please sign in to comment.