mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Quick fix.
This commit is contained in:
parent
8914fbf2df
commit
3ac0c6dd7d
5 changed files with 10 additions and 12 deletions
12
Makefile.am
12
Makefile.am
|
@ -139,9 +139,9 @@ update-manpage: $(top_srcdir)/doc/rofi-manpage.markdown
|
|||
##
|
||||
# Rofi test program
|
||||
##
|
||||
check_PROGRAMS=rofi_test textbox_test helper_test helper_expand
|
||||
check_PROGRAMS=history_test textbox_test helper_test helper_expand
|
||||
|
||||
rofi_test_CFLAGS=\
|
||||
history_test_CFLAGS=\
|
||||
$(AM_CFLAGS)\
|
||||
$(glib_CFLAGS)\
|
||||
$(libsn_CFLAGS)\
|
||||
|
@ -149,11 +149,11 @@ rofi_test_CFLAGS=\
|
|||
-I$(top_srcdir)/config/\
|
||||
-I$(top_builddir)/
|
||||
|
||||
rofi_test_LDADD=\
|
||||
history_test_LDADD=\
|
||||
$(glib_LIBS)
|
||||
|
||||
|
||||
rofi_test_SOURCES=\
|
||||
history_test_SOURCES=\
|
||||
source/history.c\
|
||||
config/config.c\
|
||||
include/rofi.h\
|
||||
|
@ -252,7 +252,7 @@ helper_expand_CFLAGS=${helper_test_CFLAGS}
|
|||
helper_expand_LDADD=${helper_test_LDADD}
|
||||
|
||||
TESTS=\
|
||||
rofi_test\
|
||||
history_test\
|
||||
helper_test\
|
||||
helper_expand
|
||||
|
||||
|
@ -308,7 +308,7 @@ test-x1: $(bin_PROGRAMS)
|
|||
|
||||
|
||||
.PHONY: indent
|
||||
indent: $(rofi_SOURCES) $(helper_test_SOURCES) $(textbox_test_SOURCES) $(rofi_test_SOURCES)
|
||||
indent: $(rofi_SOURCES) $(helper_test_SOURCES) $(textbox_test_SOURCES) $(history_test_SOURCES) $(helper_expand_SOURCES)
|
||||
uncrustify -c $(top_srcdir)/data/uncrustify.cfg --replace $^
|
||||
|
||||
.PHONY: cppcheck
|
||||
|
|
|
@ -408,7 +408,6 @@ static ModeMode run_mode_result ( Mode *sw, int mretv, char **input, unsigned in
|
|||
return retv;
|
||||
}
|
||||
|
||||
|
||||
static char *_get_display_value ( const Mode *sw, unsigned int selected_line, G_GNUC_UNUSED int *state, int get_entry )
|
||||
{
|
||||
const RunModePrivateData *rmpd = (const RunModePrivateData *) sw->private_data;
|
||||
|
|
|
@ -73,5 +73,4 @@ int main ( int argc, char ** argv )
|
|||
str = rofi_expand_path ( "~root/" );
|
||||
TASSERT ( str[0] == '/' );
|
||||
g_free ( str );
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue