Revision 18286,
828 bytes
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18285,
which included commits to RCS files with non-trunk default branches.
|
Rev | Line | |
---|
[18285] | 1 | #include <gmodule.h> |
---|
| 2 | #include <gtk/gtk.h> |
---|
| 3 | |
---|
| 4 | #include "redmond_style.h" |
---|
| 5 | #include "redmond_rc_style.h" |
---|
| 6 | |
---|
| 7 | G_MODULE_EXPORT void |
---|
| 8 | theme_init (GTypeModule *module) |
---|
| 9 | { |
---|
| 10 | redmond_rc_style_register_type (module); |
---|
| 11 | redmond_style_register_type (module); |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | G_MODULE_EXPORT void |
---|
| 15 | theme_exit (void) |
---|
| 16 | { |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | G_MODULE_EXPORT GtkRcStyle * |
---|
| 20 | theme_create_rc_style (void) |
---|
| 21 | { |
---|
| 22 | return GTK_RC_STYLE (g_object_new (REDMOND_TYPE_RC_STYLE, NULL)); |
---|
| 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 | G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module); |
---|
| 30 | const gchar* |
---|
| 31 | g_module_check_init (GModule *module) |
---|
| 32 | { |
---|
| 33 | return gtk_check_version (GTK_MAJOR_VERSION, |
---|
| 34 | GTK_MINOR_VERSION, |
---|
| 35 | GTK_MICRO_VERSION - GTK_INTERFACE_AGE); |
---|
| 36 | } |
---|
| 37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.