summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-11-23 21:52:55 +0100
committerDave Davenport <qball@gmpclient.org>2015-11-23 22:15:27 +0100
commitad778b7dc107ddc851fdb9e249ca2aa340766d93 (patch)
tree074e33786a0239e03ab8d978fed97f8f0302f0ec /include/rofi.h
parent84daf5fd6ce04b3ba763d2aaaf75aee4d29ad44a (diff)
Const making.
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 );