summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rofi.h')
-rw-r--r--include/rofi.h2
1 files changed, 1 insertions, 1 deletions
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 );