mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 12:23:02 +00: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 != NULL, FALSE );
|
||||||
g_return_val_if_fail ( mode->_init != NULL, FALSE );
|
g_return_val_if_fail ( mode->_init != NULL, FALSE );
|
||||||
mode->_init ( mode );
|
return mode->_init ( mode );
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void mode_destroy ( Mode *mode )
|
void mode_destroy ( Mode *mode )
|
||||||
|
|
Loading…
Reference in a new issue