summaryrefslogtreecommitdiff
path: root/src
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
parent4969ea5dcd573c41238393977de5926249528063 (diff)
downloadmv-460d7531d77019dc4ad799948e02651c9625ee2d.tar.gz
mv-460d7531d77019dc4ad799948e02651c9625ee2d.tar.bz2
mv-460d7531d77019dc4ad799948e02651c9625ee2d.tar.xz
mv-460d7531d77019dc4ad799948e02651c9625ee2d.zip
Add some missing nonnull attributes.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/guitable.h4
-rw-r--r--src/gui/widgets/slider.h2
2 files changed, 3 insertions, 3 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
diff --git a/src/gui/widgets/slider.h b/src/gui/widgets/slider.h
index db3dc346c..b6d065634 100644
--- a/src/gui/widgets/slider.h
+++ b/src/gui/widgets/slider.h
@@ -345,7 +345,7 @@ class Slider final : public Widget,
*/
Orientation mOrientation;
- ImageCollection *mVertexes;
+ ImageCollection *mVertexes A_NONNULLPOINTER;
/**
* Holds the length of the marker.