summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-08-15 11:43:20 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-08-15 11:43:20 +0200
commit6b839ff6e2cf8a2b0e885a16e6876415f5ba1425 (patch)
tree5a26fa8cd66eba290146cbdbb1364fa9d2407d96 /core
parentb6252045a1340a42a39426dfbb877d2a1f357b7f (diff)
downloadturns-6b839ff6e2cf8a2b0e885a16e6876415f5ba1425.tar.xz
turns-6b839ff6e2cf8a2b0e885a16e6876415f5ba1425.zip
turns: use Glib::unwrap where appropriate
Diffstat (limited to 'core')
-rw-r--r--core/src/turn_order.cpp3
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 */