Revision 18878,
858 bytes
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18877,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | #include <gmodule.h> |
---|
2 | #include "thinice_rc_style.h" |
---|
3 | #include "thinice_style.h" |
---|
4 | |
---|
5 | G_MODULE_EXPORT void |
---|
6 | theme_init (GTypeModule *module) |
---|
7 | { |
---|
8 | thinice_rc_style_register_type (module); |
---|
9 | thinice_style_register_type (module); |
---|
10 | } |
---|
11 | |
---|
12 | G_MODULE_EXPORT void |
---|
13 | theme_exit (void) |
---|
14 | { |
---|
15 | } |
---|
16 | |
---|
17 | G_MODULE_EXPORT GtkRcStyle * |
---|
18 | theme_create_rc_style (void) |
---|
19 | { |
---|
20 | void *ptr; |
---|
21 | ptr = GTK_RC_STYLE (g_object_new (THINICE_TYPE_RC_STYLE, NULL)); |
---|
22 | return (GtkRcStyle *)ptr; |
---|
23 | } |
---|
24 | |
---|
25 | /* The following function will be called by GTK+ when the module |
---|
26 | * is loaded and checks to see if we are compatible with the |
---|
27 | * version of GTK+ that loads us. |
---|
28 | */ |
---|
29 | #if 0 |
---|
30 | G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module); |
---|
31 | const gchar* |
---|
32 | g_module_check_init (GModule *module) |
---|
33 | { |
---|
34 | return gtk_check_version (GTK_MAJOR_VERSION, |
---|
35 | GTK_MINOR_VERSION, |
---|
36 | GTK_MICRO_VERSION - GTK_INTERFACE_AGE); |
---|
37 | } |
---|
38 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.