From ad778b7dc107ddc851fdb9e249ca2aa340766d93 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 23 Nov 2015 21:52:55 +0100 Subject: Const making. --- include/rofi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/rofi.h') diff --git a/include/rofi.h b/include/rofi.h index 81230f4b..2cf0d6d7 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -288,7 +288,7 @@ struct _Switcher * A switcher normally consists of the following parts: */ void ( *init )( struct _Switcher *sw ); - unsigned int ( *get_num_entries )( struct _Switcher *sw ); + unsigned int ( *get_num_entries )( const struct _Switcher *sw ); int ( *match )( char **tokens, const char *input, int case_sensitive, int index, struct _Switcher *data ); SwitcherMode ( *result )( int menu_retv, char **input, unsigned int selected_line, struct _Switcher *pd ); void ( *destroy )( struct _Switcher *pd ); -- cgit v1.2.3