diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-21 19:18:57 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-21 19:18:57 +0200 |
commit | 69d32164c9582970c8acbfbca4a9c8f5271ae4dd (patch) | |
tree | 8091c79c7cf9c721d4539df8d2dc8d527fc6fe24 | |
parent | 77a4d97262c3a1837d4b3752c2f222d7ea097703 (diff) |
Fix test building.
-rw-r--r-- | include/theme.h | 7 | ||||
-rw-r--r-- | include/xrmoptions.h | 2 | ||||
-rw-r--r-- | source/rofi.c | 3 | ||||
-rw-r--r-- | source/theme.c | 8 | ||||
-rw-r--r-- | source/xrmoptions.c | 2 |
5 files changed, 4 insertions, 18 deletions
diff --git a/include/theme.h b/include/theme.h index 28c8f225..c0182e64 100644 --- a/include/theme.h +++ b/include/theme.h @@ -240,13 +240,6 @@ ThemeWidget *rofi_theme_find_or_create_name ( ThemeWidget *base, const char *nam void rofi_theme_print ( ThemeWidget *widget ); /** - * @param widget The widget handle. - * - * Print out the theme and config to the commandline. - */ -void rofi_dump_config ( ThemeWidget *widget ); - -/** * @param type The type of the property to create. * * Create a theme property of type. diff --git a/include/xrmoptions.h b/include/xrmoptions.h index 2a01d72c..2d2f2b91 100644 --- a/include/xrmoptions.h +++ b/include/xrmoptions.h @@ -169,6 +169,6 @@ gboolean config_parse_set_property ( const Property *p, char **error ); /** * @brief Dump configuration in rasi format. */ -void config_parse_dump_config ( void ); +void config_parse_dump_config_rasi_format ( void ); /* @}*/ #endif diff --git a/source/rofi.c b/source/rofi.c index fbce9631..8179e1fe 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -898,7 +898,8 @@ int main ( int argc, char *argv[] ) return EXIT_SUCCESS; } if ( find_arg ( "-dump-config" ) >= 0 ) { - rofi_dump_config ( rofi_theme ); + config_parse_dump_config_rasi_format ( ); + rofi_theme_print ( rofi_theme ); cleanup (); return EXIT_SUCCESS; } diff --git a/source/theme.c b/source/theme.c index c09f9c52..b929a9ea 100644 --- a/source/theme.c +++ b/source/theme.c @@ -290,14 +290,6 @@ void rofi_theme_print ( ThemeWidget *widget ) } } -void rofi_dump_config ( ThemeWidget *widget ) -{ - config_parse_dump_config ( ); - if ( widget != NULL ) { - rofi_theme_print_index ( widget ); - } -} - /** * Main lex parser. */ diff --git a/source/xrmoptions.c b/source/xrmoptions.c index 03ded07c..05fef439 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -557,7 +557,7 @@ static void config_parse_dump_config_option ( XrmOption *option ) printf ( "\n" ); } -void config_parse_dump_config ( void ) +void config_parse_dump_config_rasi_format ( void ) { printf ( "configuration {\n" ); |