mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
mode: Properly use mode init return value
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
3fab20b45e
commit
e45f0194d1
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ int mode_init ( Mode *mode )
|
|||
{
|
||||
g_return_val_if_fail ( mode != NULL, FALSE );
|
||||
g_return_val_if_fail ( mode->_init != NULL, FALSE );
|
||||
mode->_init ( mode );
|
||||
return TRUE;
|
||||
return mode->_init ( mode );
|
||||
}
|
||||
|
||||
void mode_destroy ( Mode *mode )
|
||||
|
|
Loading…
Reference in a new issue