summaryrefslogtreecommitdiffstats
path: root/test/helper-config-cmdline-parser.c
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2022-07-27 23:44:56 +0200
committerDave Davenport <qball@blame.services>2022-07-27 23:44:56 +0200
commitfb24fc09992404352a998c02b9fdf24ee54d3af5 (patch)
tree113882a687f7ab51df51305df8f93e3237bde58a /test/helper-config-cmdline-parser.c
parent952aaae295afd05e5a13815b2d6354c9bebc3541 (diff)
Add a warning list and append it to the message box.
Diffstat (limited to 'test/helper-config-cmdline-parser.c')
-rw-r--r--test/helper-config-cmdline-parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/helper-config-cmdline-parser.c b/test/helper-config-cmdline-parser.c
index 24f0806e..4cbfe78f 100644
--- a/test/helper-config-cmdline-parser.c
+++ b/test/helper-config-cmdline-parser.c
@@ -72,6 +72,7 @@ cairo_surface_t *rofi_icon_fetcher_get(G_GNUC_UNUSED const uint32_t uid) {
return NULL;
}
void rofi_clear_error_messages(void) {}
+void rofi_clear_warning_messages(void) {}
gboolean rofi_theme_parse_string(G_GNUC_UNUSED const char *string) {
return FALSE;
@@ -84,6 +85,7 @@ void rofi_view_get_current_monitor(int *width, int *height) {
}
double textbox_get_estimated_ch(void) { return 9.0; }
void rofi_add_error_message(G_GNUC_UNUSED GString *msg) {}
+void rofi_add_warning_message(G_GNUC_UNUSED GString *msg) {}
int rofi_view_error_dialog(const char *msg, G_GNUC_UNUSED int markup) {
fputs(msg, stderr);
return TRUE;