sample/misc/calendar.rb in gtk3-3.4.1 vs sample/misc/calendar.rb in gtk3-3.4.2

- old
+ new

@@ -1,10 +1,10 @@ =begin calendar.rb - Gtk::Calendar sample script. - Copyright (c) 2002-2018 Ruby-GNOME2 Project Team - This program is licenced under the same licence as Ruby-GNOME2. + Copyright (c) 2002-2020 Ruby-GNOME Project Team + This program is licenced under the same licence as Ruby-GNOME. =end require "gtk3" cal = Gtk::Calendar.new @@ -19,14 +19,10 @@ date = Time.new cal.select_month(date.month, date.year) cal.select_day(date.day) cal.mark_day(date.day) -#cal.clear_marks - -# -# Gtk::CalendarDisplayOptions::WEEK_START_MONDAY does not exist anymore -# +# cal.clear_marks cal.set_display_options(Gtk::CalendarDisplayOptions::SHOW_HEADING | Gtk::CalendarDisplayOptions::SHOW_DAY_NAMES | Gtk::CalendarDisplayOptions::SHOW_WEEK_NUMBERS)