[wesnoth-commits] [wesnoth/wesnoth] 6579f0: pango_text: remove unused force options and single...

Steve Cotton noreply at github.com
Sun Apr 4 06:47:43 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6579f073c14c256cb5f8200fba07046715ca4653
      https://github.com/wesnoth/wesnoth/commit/6579f073c14c256cb5f8200fba07046715ca4653
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    M src/font/text.cpp
    M src/font/text.hpp

  Log Message:
  -----------
  pango_text: remove unused force options and single-character insertion

The single-character insertion seems unlikely to be used in future. While
pango_text isn't a singleton, a few shared instances are created and then used
in a singleton-like way, with each caller assuming that it received it in an
unknown state and always calling set_text(), set_font_size(), set_font_style(),
etc.





More information about the Commits mailing list