mirror of
https://github.com/flatpak/flatpak.git
synced 2026-09-12 22:22:09 -04:00
glib-mkenums fails to generate proper nicks and strips away th non- and no-. Fix those cases manually. Also fix the header guard while at it. Technically this is an API break, but the API does exactly the opposite of what it promises, so if anyone depended on this, we probably would have received a bug report. Let's take the risk and just change it.
25 lines
535 B
Plaintext
25 lines
535 B
Plaintext
/*** BEGIN file-header ***/
|
|
#ifndef __FLATPAK_ENUM_TYPES_H__
|
|
#define __FLATPAK_ENUM_TYPES_H__
|
|
|
|
#include <glib-object.h>
|
|
|
|
G_BEGIN_DECLS
|
|
/*** END file-header ***/
|
|
|
|
/*** BEGIN file-production ***/
|
|
|
|
/* enumerations from "@basename@" */
|
|
/*** END file-production ***/
|
|
|
|
/*** BEGIN value-header ***/
|
|
FLATPAK_EXTERN GType @enum_name@_get_type (void);
|
|
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
|
/*** END value-header ***/
|
|
|
|
/*** BEGIN file-tail ***/
|
|
G_END_DECLS
|
|
|
|
#endif /* __FLATPAK_ENUM_TYPES_H__ */
|
|
/*** END file-tail ***/
|