mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 04:13:03 +00:00
Fix test building.
This commit is contained in:
parent
77a4d97262
commit
69d32164c9
5 changed files with 4 additions and 18 deletions
|
@ -239,13 +239,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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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" );
|
||||
|
||||
|
|
Loading…
Reference in a new issue