Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gtk-engine/src/olpc_main.c
blob: 0cbfc76f521f889c7b009f22afaadd154f2b155e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <gmodule.h>
#include "olpc_rc_style.h"
#include "olpc_style.h"

G_MODULE_EXPORT void
theme_init (GTypeModule *module)
{
  olpc_rc_style_register_type (module);
  olpc_style_register_type (module);
}

G_MODULE_EXPORT void
theme_exit (void)
{
}

G_MODULE_EXPORT GtkRcStyle *
theme_create_rc_style (void)
{
  void *ptr;
  ptr = GTK_RC_STYLE (g_object_new (OLPC_TYPE_RC_STYLE, NULL));  
  return (GtkRcStyle *)ptr;
}