summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-17 14:21:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-17 14:21:23 +0300
commit460d7531d77019dc4ad799948e02651c9625ee2d (patch)
tree5ad11e81e13dddac1a3acbb777be29b47f43d759 /src/gui/widgets/guitable.h
parent4969ea5dcd573c41238393977de5926249528063 (diff)
downloadplus-460d7531d77019dc4ad799948e02651c9625ee2d.tar.gz
plus-460d7531d77019dc4ad799948e02651c9625ee2d.tar.bz2
plus-460d7531d77019dc4ad799948e02651c9625ee2d.tar.xz
plus-460d7531d77019dc4ad799948e02651c9625ee2d.zip
Add some missing nonnull attributes.
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r--src/gui/widgets/guitable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index 35000ccff..27d54bdd2 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -54,7 +54,7 @@ class GuiTable final : public Widget,
public:
GuiTable(const Widget2 *const widget,
TableModel *const initial_model,
- const bool opacity = true);
+ const bool opacity = true) A_NONNULL(3);
A_DELETE_COPY(GuiTable)
@@ -68,7 +68,7 @@ class GuiTable final : public Widget,
* installed within the widget have been triggered. To be notified
* after such an update, add an action listener to the table instead.
*/
- void setModel(TableModel *const m);
+ void setModel(TableModel *const m) A_NONNULL(2);
/**
* Retrieves the active table model