view console/libgnt/gntstyle.h @ 15085:e0d70bba8290

[gaim-migrate @ 17870] Fix this before it becomes a problem. But basically, if the first call to PKG_CHECK_MODULES is in a conditional block, and that condition is not matched, configure will die on the next call to PKG_CHECK_MODULES. This stops that from happening by forcing the initialization or whatever of pkg-config to always happend. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 02 Dec 2006 03:12:57 +0000
parents d08d7b7375c7
children 1c8f1dc50685
line wrap: on
line source

#include "gnt.h"

typedef enum
{
	GNT_STYLE_SHADOW = 0,
	GNT_STYLE_COLOR = 1,
	GNT_STYLE_MOUSE = 2,
	GNT_STYLE_WM = 3,
	GNT_STYLE_REMPOS = 4,
	GNT_STYLES
} GntStyle;

void gnt_style_read_configure_file(const char *filename);

const char *gnt_style_get(GntStyle style);

gboolean gnt_style_get_bool(GntStyle style, gboolean def);

/* This should be called only once for the each type */
void gnt_styles_get_keyremaps(GType type, GHashTable *hash);

void gnt_style_read_actions(GType type, GntBindableClass *klass);

void gnt_init_styles();

void gnt_uninit_styles();