diff options
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r-- | src/gui/widgets/widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index c5573b404..840e7ce31 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -682,7 +682,7 @@ class Widget notfinal : public Widget2 * @see setFont, setGlobalFont * @since 0.1.0 */ - Font *getFont() const A_WARN_UNUSED; + Font *getFont() const RETURNS_NONNULL A_WARN_UNUSED; /** * Sets the global font to be used by default for all widgets. @@ -1027,7 +1027,7 @@ class Widget notfinal : public Widget2 void windowResized(); - static Widget *callPostInit(Widget *const widget); + static Widget *callPostInit(Widget *const widget) RETURNS_NONNULL; virtual void postInit() { } |