lib/gtk4/label.rb in gtk4-3.4.9 vs lib/gtk4/label.rb in gtk4-3.5.0
- old
+ new
@@ -37,10 +37,10 @@
alias_method :set_markup_raw, :set_markup
def set_markup(text, options={})
if options == true or options == false or options.nil?
mnemonic = options
warn "Gtk::Label#set_markup(text, mnemonic) style has been deprecated. " +
- "Use Gtk::Label#set_marup(text, {:use_underline => #{mnemonic}}) style instead."
+ "Use Gtk::Label#set_markup(text, {:use_underline => #{mnemonic}}) style instead."
options = {
:use_underline => mnemonic,
}
end
if options[:use_underline]