[wesnoth-commits] [wesnoth/wesnoth] e996a3: GUI2/Window: take window_resolution reference inst...

Charles Dang noreply at github.com
Thu Dec 3 14:02:08 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e996a30603cadab11c8e25a75d86603289e7af8b
      https://github.com/wesnoth/wesnoth/commit/e996a30603cadab11c8e25a75d86603289e7af8b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M src/gui/core/window_builder.cpp
    M src/gui/core/window_builder.hpp
    M src/gui/widgets/window.cpp
    M src/gui/widgets/window.hpp
    M src/scripting/lua_widget_methods.cpp

  Log Message:
  -----------
  GUI2/Window: take window_resolution reference instead of pointer

This was never null, so it should be a reference.


  Commit: 7bdd72886ddd27c431d94e342f95834a117513ec
      https://github.com/wesnoth/wesnoth/commit/7bdd72886ddd27c431d94e342f95834a117513ec
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M src/gui/core/window_builder.cpp
    M src/gui/core/window_builder.hpp
    M src/gui/dialogs/modal_dialog.cpp
    M src/gui/dialogs/modal_dialog.hpp
    M src/gui/dialogs/modeless_dialog.cpp
    M src/gui/dialogs/modeless_dialog.hpp
    M src/gui/widgets/window.hpp
    M src/scripting/lua_widget_methods.cpp

  Log Message:
  -----------
  GUI2/Window: don't create raw window pointers


Compare: https://github.com/wesnoth/wesnoth/compare/0f68d936dfe6...7bdd72886ddd



More information about the Commits mailing list