summaryrefslogtreecommitdiff
path: root/src/gui/skin.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-09 00:25:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-09 00:25:50 +0300
commite0d14cf8d3c809a0a5291823d3a962a4835a8f6e (patch)
tree0b0720d0988e2468abc75cf68b654673f7f60a92 /src/gui/skin.h
parent12d4d6b33e036f17a0c59fa5a0c7af2c5d0461bc (diff)
downloadplus-e0d14cf8d3c809a0a5291823d3a962a4835a8f6e.tar.gz
plus-e0d14cf8d3c809a0a5291823d3a962a4835a8f6e.tar.bz2
plus-e0d14cf8d3c809a0a5291823d3a962a4835a8f6e.tar.xz
plus-e0d14cf8d3c809a0a5291823d3a962a4835a8f6e.zip
Add some missing checks to gui found by paranucker.
Diffstat (limited to 'src/gui/skin.h')
-rw-r--r--src/gui/skin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/skin.h b/src/gui/skin.h
index c3e4e01b2..97d8ba038 100644
--- a/src/gui/skin.h
+++ b/src/gui/skin.h
@@ -38,10 +38,10 @@ class Skin final
Skin(ImageRect *const restrict skin,
const ImageRect *const restrict images,
const std::string &filePath,
- const std::string &name = "",
- const int padding = 3,
- const int titlePadding = 4,
- StringIntMap *restrict const options = nullptr);
+ const std::string &name,
+ const int padding,
+ const int titlePadding,
+ StringIntMap *restrict const options) A_NONNULL(8);
A_DELETE_COPY(Skin)
@@ -129,7 +129,7 @@ class Skin final
Image *mStickyImageDown; /**< Sticky Button Image */
int mPadding;
int mTitlePadding;
- StringIntMap *mOptions;
+ StringIntMap *mOptions A_NONNULLPOINTER;
};
#endif // GUI_SKIN_H