summaryrefslogtreecommitdiff
path: root/libs/clearlooks-newer/clearlooks_theme_main.c
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-02-21 21:54:19 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:11:02 -0500
commit1afbdaff58ac2b45ebf1ea046ff5a4d79b98be74 (patch)
treea8f857596cab0198530142601999912885758519 /libs/clearlooks-newer/clearlooks_theme_main.c
parent86d27a736c8e654dd2c03cfa12511ebd3e40128b (diff)
Fix compilation warnings. (libs part)
Diffstat (limited to 'libs/clearlooks-newer/clearlooks_theme_main.c')
-rw-r--r--libs/clearlooks-newer/clearlooks_theme_main.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/libs/clearlooks-newer/clearlooks_theme_main.c b/libs/clearlooks-newer/clearlooks_theme_main.c
index e4c35b413c..ae856278e7 100644
--- a/libs/clearlooks-newer/clearlooks_theme_main.c
+++ b/libs/clearlooks-newer/clearlooks_theme_main.c
@@ -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));
}