diff options
Diffstat (limited to 'test/helper-pidfile.c')
-rw-r--r-- | test/helper-pidfile.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/test/helper-pidfile.c b/test/helper-pidfile.c index 090d7002..22b66d23 100644 --- a/test/helper-pidfile.c +++ b/test/helper-pidfile.c @@ -50,17 +50,25 @@ static int test = 0; #include "theme.h" ThemeWidget *rofi_theme = NULL; -uint32_t rofi_icon_fetcher_query(const char *name, const int size) { return 0; } -uint32_t rofi_icon_fetcher_query_advanced(const char *name, const int wsize, - const int hsize) { +uint32_t rofi_icon_fetcher_query(G_GNUC_UNUSED const char *name, + G_GNUC_UNUSED const int size) { + return 0; +} +uint32_t rofi_icon_fetcher_query_advanced(G_GNUC_UNUSED const char *name, + G_GNUC_UNUSED const int wsize, + G_GNUC_UNUSED const int hsize) { return 0; } -cairo_surface_t *rofi_icon_fetcher_get(const uint32_t uid) { return NULL; } +cairo_surface_t *rofi_icon_fetcher_get(G_GNUC_UNUSED const uint32_t uid) { + return NULL; +} void rofi_clear_error_messages(void) {} -gboolean rofi_theme_parse_string(const char *string) { return FALSE; } +gboolean rofi_theme_parse_string(G_GNUC_UNUSED const char *string) { + return FALSE; +} double textbox_get_estimated_char_height(void) { return 12.0; } void rofi_view_get_current_monitor(int *width, int *height) { *width = 1920; |