summaryrefslogtreecommitdiff
path: root/libs/clearlooks-newer/clearlooks_theme_main.c
blob: ae856278e7d00d8453d7931154d68bd80a2e44fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include <gmodule.h>
#include <gtk/gtk.h>

#include "clearlooks_style.h"
#include "clearlooks_rc_style.h"

/* declare those three functions first to avoid warnings using gcc */
GE_EXPORT void
theme_init (GTypeModule* module);

GE_EXPORT void
theme_exit (void);

GE_EXPORT GtkRcStyle*
theme_create_rc_style (void);

GE_EXPORT void
theme_init (GTypeModule* module)
{
	clearlooks_rc_style_register_type (module);
	clearlooks_style_register_type (module);
}

GE_EXPORT void
theme_exit (void)
{
}

GE_EXPORT GtkRcStyle*
theme_create_rc_style (void)
{
	return GTK_RC_STYLE (g_object_new (CLEARLOOKS_TYPE_RC_STYLE, NULL));
}