13
0
livetrax/libs/clearlooks-newer/clearlooks_theme_main.c

34 lines
618 B
C
Raw Normal View History

#include <gmodule.h>
#include <gtk/gtk.h>
#include "clearlooks_style.h"
#include "clearlooks_rc_style.h"
2016-02-21 15:54:19 -05:00
/* declare those three functions first to avoid warnings using gcc */
GE_EXPORT void
2016-02-21 15:54:19 -05:00
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)
{
2016-02-21 15:54:19 -05:00
clearlooks_rc_style_register_type (module);
clearlooks_style_register_type (module);
}
GE_EXPORT void
theme_exit (void)
{
}
2016-02-21 15:54:19 -05:00
GE_EXPORT GtkRcStyle*
theme_create_rc_style (void)
{
2016-02-21 15:54:19 -05:00
return GTK_RC_STYLE (g_object_new (CLEARLOOKS_TYPE_RC_STYLE, NULL));
}