f8db7689af
For experimenting with using tidy, import TidyButton and TidyGrid (+ dependencies) into our source tree and set up build machinery to build them and build a typelib for them. The sources are build right into libgnome-shell.so, so the Shell.gir and Tidy.gir actually point to the same shared library. src/Makefile-tidy.am: Build libtidy-1.0.la src/Makefile.am: Include built tidy into gnome-shell.la and build Tidy-1.0.typelib src/tidy/*: Add some source files from Tidy svn path=/trunk/; revision=42
31 lines
723 B
C
31 lines
723 B
C
/*** BEGIN file-header ***/
|
|
#include "tidy-enum-types.h"
|
|
/*** END file-header ***/
|
|
|
|
/*** BEGIN file-production ***/
|
|
/* enumerations from "@filename@" */
|
|
#include "@filename@"
|
|
/*** END file-production ***/
|
|
|
|
/*** BEGIN value-header ***/
|
|
GType
|
|
@enum_name@_get_type(void) {
|
|
static GType enum_type_id = 0;
|
|
if (G_UNLIKELY (!enum_type_id))
|
|
{
|
|
static const G@Type@Value values[] = {
|
|
/*** END value-header ***/
|
|
|
|
/*** BEGIN value-production ***/
|
|
{ @VALUENAME@, "@VALUENAME@", "@valuenick@" },
|
|
/*** END value-production ***/
|
|
|
|
/*** BEGIN value-tail ***/
|
|
{ 0, NULL, NULL }
|
|
};
|
|
enum_type_id = g_@type@_register_static("@EnumName@", values);
|
|
}
|
|
return enum_type_id;
|
|
}
|
|
/*** END value-tail ***/
|