summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-03-30 08:33:40 +0200
committerDave Davenport <qball@gmpclient.org>2017-03-30 08:33:40 +0200
commit4d19e35b0e14dda5a965ddd2f9663529b6b908e3 (patch)
tree1720788399b939c792523ff9ff1a2b26c6089dcb /source
parent898e4a2717a7c160b46b4665b4d192a024859213 (diff)
Remove more traces of old theme.
Diffstat (limited to 'source')
-rw-r--r--source/rofi.c6
-rw-r--r--source/xrmoptions.c20
2 files changed, 0 insertions, 26 deletions
diff --git a/source/rofi.c b/source/rofi.c
index df8bae5f..aad30426 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -1110,12 +1110,6 @@ int main ( int argc, char *argv[] )
cleanup ();
return EXIT_SUCCESS;
}
- if ( find_arg ( "-dump-xresources-theme" ) >= 0 ) {
- config_parse_xresources_theme_dump ();
- cleanup ();
- return EXIT_SUCCESS;
- }
-
main_loop_source = g_water_xcb_source_new_for_connection ( NULL, xcb->connection, main_loop_x11_event_handler, NULL, NULL );
TICK_N ( "X11 Setup " );
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index 0512ec41..5713e22d 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -622,26 +622,6 @@ void print_help_msg ( const char *option, const char *type, const char*text, con
}
}
-void config_parse_xresources_theme_dump ( void )
-{
- printf ( "! ------------------------------------------------------------------------------\n" );
- printf ( "! ROFI Color theme\n" );
- printf ( "! User: %s\n", g_get_user_name () );
- printf ( "! ------------------------------------------------------------------------------\n" );
- const char * const namePrefix = "rofi";
- const char colorPrefix[] = "color-";
- const char separatorStyle[] = "separator-style";
- unsigned int entries = sizeof ( xrmOptions ) / sizeof ( *xrmOptions );
- for ( unsigned int i = 0; i < entries; ++i ) {
- if ( strncmp ( xrmOptions[i].name, colorPrefix, sizeof ( colorPrefix ) - 1 ) == 0 ) {
- xresource_dump_entry ( namePrefix, &xrmOptions[i] );
- }
- else if ( strcmp ( xrmOptions[i].name, separatorStyle ) == 0 ) {
- xresource_dump_entry ( namePrefix, &xrmOptions[i] );
- }
- }
-}
-
static char * config_parser_return_display_help_entry ( XrmOption *option, size_t l )
{
int ll = (int) l;