summaryrefslogtreecommitdiff
path: root/app/include
diff options
context:
space:
mode:
Diffstat (limited to 'app/include')
-rw-r--r--app/include/turns/app/widgets/turn_order_view.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/include/turns/app/widgets/turn_order_view.hpp b/app/include/turns/app/widgets/turn_order_view.hpp
index c55483a..c9be5ff 100644
--- a/app/include/turns/app/widgets/turn_order_view.hpp
+++ b/app/include/turns/app/widgets/turn_order_view.hpp
@@ -31,9 +31,8 @@ namespace turns::app::widgets
auto get(std::size_t index) -> Glib::RefPtr<domain::participant>;
auto remove(std::size_t index) -> void;
-
- auto get_n_items() const noexcept -> unsigned int;
- auto property_n_items() const -> Glib::PropertyProxy_ReadOnly<unsigned int>;
+ auto get_is_empty() const noexcept -> bool;
+ auto property_is_empty() const -> Glib::PropertyProxy_ReadOnly<bool>;
private:
auto handle_create_row(Glib::RefPtr<Glib::Object> const item) -> Gtk::Widget *;
@@ -41,7 +40,7 @@ namespace turns::app::widgets
Glib::RefPtr<domain::turn_order> m_model;
Gtk::ListBox * m_view;
- Glib::PropertyProxy_ReadOnly<unsigned int> m_n_items;
+ Glib::Property<bool> m_is_empty;
};
} // namespace turns::app::widgets