diff options
Diffstat (limited to 'apps/gui/statusbar.h')
-rw-r--r-- | apps/gui/statusbar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h index 77ceefd69f..e7fe92eaf9 100644 --- a/apps/gui/statusbar.h +++ b/apps/gui/statusbar.h | |||
@@ -85,7 +85,8 @@ extern void gui_statusbar_init(struct gui_statusbar * bar); | |||
85 | * - bar : the statusbar structure | 85 | * - bar : the statusbar structure |
86 | * - display : the screen to attach | 86 | * - display : the screen to attach |
87 | */ | 87 | */ |
88 | extern void gui_statusbar_set_screen(struct gui_statusbar * bar, struct screen * display); | 88 | #define gui_statusbar_set_screen(gui_statusbar, screen) \ |
89 | (gui_statusbar)->display = screen | ||
89 | 90 | ||
90 | /* | 91 | /* |
91 | * Draws the status bar on the attached screen | 92 | * Draws the status bar on the attached screen |