mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 20:33:03 +00:00
Remove unused function
This commit is contained in:
parent
ae3c8c764f
commit
89dcb5be1e
3 changed files with 3 additions and 15 deletions
|
@ -81,7 +81,6 @@ int find_arg_int ( const char * const key, int *val );
|
|||
* @returns TRUE if key was found and val was set.
|
||||
*/
|
||||
int find_arg_str ( const char * const key, char** val );
|
||||
int find_arg_str_alloc ( const char * const key, char** val );
|
||||
|
||||
/**
|
||||
* @param key The key to search for
|
||||
|
|
|
@ -224,19 +224,6 @@ int find_arg_str ( const char * const key, char** val )
|
|||
}
|
||||
return FALSE;
|
||||
}
|
||||
int find_arg_str_alloc ( const char * const key, char** val )
|
||||
{
|
||||
int i = find_arg ( key );
|
||||
|
||||
if ( val != NULL && i > 0 && i < stored_argc - 1 ) {
|
||||
if ( *val != NULL ) {
|
||||
g_free ( *val );
|
||||
}
|
||||
*val = g_strdup ( stored_argv[i + 1] );
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
int find_arg_int ( const char * const key, int *val )
|
||||
{
|
||||
|
|
|
@ -182,7 +182,9 @@ static void menu_set_arrow_text ( int filtered_lines, int selected, int max_elem
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Levenshtein Sorting.
|
||||
*/
|
||||
|
||||
static int lev_sort ( const void *p1, const void *p2, void *arg )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue