1. 09 Apr, 2017 1 commit
  2. 26 Feb, 2016 1 commit
  3. 31 Oct, 2015 1 commit
    • Kjell Ahlstedt's avatar
      ObjectBase, Object, Interface: Fix move constructors and move assignments · 2fbd9f23
      Kjell Ahlstedt authored
      * glib/glibmm/interface.cc: Don't call ObjectBase's move assignment operator
      from Interface's move assignment operator.
      * glib/glibmm/object.cc: Perform of job of sigc::trackable's move constructor
      in Object's move constructor.
      * glib/glibmm/objectbase.cc: Move constructor: Set gobject_ = nullptr.
      Fix the assignment of cpp_destruction_in_progress_.
      Move assignment: Add self-assignment guard. Avoid the risk of accidentally
      deleting *this. Let a call to initialize_move() do most of the job.
      * tests/glibmm_interface_move/main.cc:
      * tests/glibmm_object_move/main.cc:
      * tests/glibmm_objectbase_move/main.cc: Really test move assignment.
      Test that the wrapped C object has been moved, and not copied.
      Bug #756962.
      2fbd9f23
  4. 22 Aug, 2015 1 commit