diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-08-15 11:43:20 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-08-15 11:43:20 +0200 |
| commit | 6b839ff6e2cf8a2b0e885a16e6876415f5ba1425 (patch) | |
| tree | 5a26fa8cd66eba290146cbdbb1364fa9d2407d96 /core | |
| parent | b6252045a1340a42a39426dfbb877d2a1f357b7f (diff) | |
| download | turns-6b839ff6e2cf8a2b0e885a16e6876415f5ba1425.tar.xz turns-6b839ff6e2cf8a2b0e885a16e6876415f5ba1425.zip | |
turns: use Glib::unwrap where appropriate
Diffstat (limited to 'core')
| -rw-r--r-- | core/src/turn_order.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/turn_order.cpp b/core/src/turn_order.cpp index e7b92db..31b6830 100644 --- a/core/src/turn_order.cpp +++ b/core/src/turn_order.cpp @@ -11,6 +11,7 @@ #include <glibmm/propertyproxy.h> #include <glibmm/refptr.h> #include <glibmm/ustring.h> +#include <glibmm/wrap.h> #include <giomm/listmodel.h> @@ -266,7 +267,7 @@ namespace turns::core } auto item = m_data[position]; item->reference(); - return item->gobj(); + return Glib::unwrap(item); } /** Signal handlers */ |
