2008-06-02 17:41:35 -04:00
|
|
|
#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 */
|
2008-06-02 17:41:35 -04:00
|
|
|
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)
|
2008-06-02 17:41:35 -04:00
|
|
|
{
|
2016-02-21 15:54:19 -05:00
|
|
|
clearlooks_rc_style_register_type (module);
|
|
|
|
clearlooks_style_register_type (module);
|
2008-06-02 17:41:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
GE_EXPORT void
|
|
|
|
theme_exit (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-02-21 15:54:19 -05:00
|
|
|
GE_EXPORT GtkRcStyle*
|
2008-06-02 17:41:35 -04:00
|
|
|
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));
|
2008-06-02 17:41:35 -04:00
|
|
|
}
|