diff options
-rw-r--r-- | include/theme.h | 2 | ||||
-rw-r--r-- | source/theme.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/theme.h b/include/theme.h index 87a63cad..b55c4d0a 100644 --- a/include/theme.h +++ b/include/theme.h @@ -410,8 +410,10 @@ Property *rofi_theme_find_property ( ThemeWidget *widget, PropertyType type, con */ gboolean rofi_theme_is_empty ( void ); +#ifdef THEME_CONVERTER /** * Convert old theme colors into default one. */ void rofi_theme_convert_old ( void ); #endif +#endif diff --git a/source/theme.c b/source/theme.c index 890ced85..f8657103 100644 --- a/source/theme.c +++ b/source/theme.c @@ -574,6 +574,8 @@ gboolean rofi_theme_is_empty ( void ) return FALSE; } +#ifdef THEME_CONVERTER + void rofi_theme_convert_old ( void ) { if ( config.color_window ) { @@ -639,3 +641,4 @@ void rofi_theme_convert_old ( void ) g_strfreev ( retv ); } } +#endif // THEME_CONVERTER |