use ActionManager namespace, rather than ActionMap objects
[ardour.git] / libs / clearlooks-newer / clearlooks_theme_main.c
index c042fdbac05a85d351d5c336c77b6902b363a22b..ae856278e7d00d8453d7931154d68bd80a2e44fb 100644 (file)
@@ -4,11 +4,21 @@
 #include "clearlooks_style.h"
 #include "clearlooks_rc_style.h"
 
+/* declare those three functions first to avoid warnings using gcc */
 GE_EXPORT void
-theme_init (GTypeModule *module)
+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)
 {
-  clearlooks_rc_style_register_type (module);
-  clearlooks_style_register_type (module);
+       clearlooks_rc_style_register_type (module);
+       clearlooks_style_register_type (module);
 }
 
 GE_EXPORT void
@@ -16,8 +26,8 @@ theme_exit (void)
 {
 }
 
-GE_EXPORT GtkRcStyle *
+GE_EXPORT GtkRcStyle*
 theme_create_rc_style (void)
 {
-  return GTK_RC_STYLE (g_object_new (CLEARLOOKS_TYPE_RC_STYLE, NULL));  
+       return GTK_RC_STYLE (g_object_new (CLEARLOOKS_TYPE_RC_STYLE, NULL));
 }