Remove hack with config file.

This commit is contained in:
Dave Davenport 2016-03-05 20:16:10 +01:00
parent 9978feb600
commit 1aed0427f9
3 changed files with 5 additions and 12 deletions

View file

@ -112,14 +112,6 @@ markdown_FILES=\
README.html: README.md README.html: README.md
$(md_verbose) markdown $< > $@ $(md_verbose) markdown $< > $@
##
# config directory
##
$(top_builddir)/config/config.c: $(top_srcdir)/config/config.def.c
cp $(top_srcdir)/config/config.def.c $@
## ##
# Extra DIST # Extra DIST
## ##
@ -127,7 +119,6 @@ EXTRA_DIST=\
$(markdown_FILES)\ $(markdown_FILES)\
$(markdown_SC_FILES)\ $(markdown_SC_FILES)\
Examples/i3_switch_workspaces.sh\ Examples/i3_switch_workspaces.sh\
$(top_srcdir)/config/config.def.c\
INSTALL.md\ INSTALL.md\
AUTHORS\ AUTHORS\
doc/rofi.doxy.in\ doc/rofi.doxy.in\
@ -298,7 +289,7 @@ test-x1: $(bin_PROGRAMS)
.PHONY: indent .PHONY: indent
indent: $(rofi_SOURCES) $(top_srcdir)/config/config.def.c $(helper_test_SOURCES) $(textbox_test_SOURCES) $(rofi_test_SOURCES) indent: $(rofi_SOURCES) $(helper_test_SOURCES) $(textbox_test_SOURCES) $(rofi_test_SOURCES)
uncrustify -c $(top_srcdir)/data/uncrustify.cfg --replace $^ uncrustify -c $(top_srcdir)/data/uncrustify.cfg --replace $^
.PHONY: cppcheck .PHONY: cppcheck

View file

@ -24,8 +24,10 @@ unsigned int normal_window_mode = 0;
void rofi_view_queue_redraw () void rofi_view_queue_redraw ()
{ {
} }
Color color_get ( const char *name ) Color color_get ( G_GNUC_UNUSED const char *name )
{ {
Color retv = { 1.0, 1.0, 1.0, 1.0 };
return retv;
} }
int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup ) int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
@ -34,7 +36,7 @@ int rofi_view_error_dialog ( const char *msg, G_GNUC_UNUSED int markup )
return FALSE; return FALSE;
} }
int abe_test_action ( KeyBindingAction action, unsigned int mask, xkb_keysym_t key ) int abe_test_action ( G_GNUC_UNUSED KeyBindingAction action, G_GNUC_UNUSED unsigned int mask, G_GNUC_UNUSED xkb_keysym_t key )
{ {
return FALSE; return FALSE;
} }