mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
There were some missing headers like <stddef.h> for `NULL`, <wayland-util.h> for `wl_link` and <stdbool.h> for `true`/`false`. Also this commit fixes that `labwc.h` and `ime.h` included each other.
17 lines
495 B
C
17 lines
495 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef LABWC_BUTTON_COMMON_H
|
|
#define LABWC_BUTTON_COMMON_H
|
|
|
|
#include <stddef.h>
|
|
|
|
/**
|
|
* button_filename() - Get full filename for button.
|
|
* @name: The name of the button (for example 'iconify.xbm').
|
|
* @buf: Buffer to fill with the full filename
|
|
* @len: Length of buffer
|
|
*
|
|
* Example return value: /usr/share/themes/Numix/openbox-3/iconify.xbm
|
|
*/
|
|
void button_filename(const char *name, char *buf, size_t len);
|
|
|
|
#endif /* LABWC_BUTTON_COMMON_H */
|