They register types as a side effect, and newer compilers drop calls whose result isn't used. The same change as GTK 3 commit f30efa7759 by Matthias Clasen.
24 lines
505 B
Text
24 lines
505 B
Text
/*** BEGIN file-header ***/
|
|
#ifndef __TYPE_BUILTINS_H__
|
|
#define __TYPE_BUILTINS_H__
|
|
|
|
#include <glib-object.h>
|
|
|
|
G_BEGIN_DECLS
|
|
/*** END file-header ***/
|
|
|
|
/*** BEGIN file-production ***/
|
|
|
|
/* enumerations from "@filename@" */
|
|
/*** END file-production ***/
|
|
|
|
/*** BEGIN value-header ***/
|
|
GType @enum_name@_get_type (void);
|
|
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
|
/*** END value-header ***/
|
|
|
|
/*** BEGIN file-tail ***/
|
|
G_END_DECLS
|
|
|
|
#endif /* __TYPE_BUILTINS_H__ */
|
|
/*** END file-tail ***/
|