mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 09:06:02 +01:00
Little fix in sc_toggle_index
This commit is contained in:
parent
1fbe59aabf
commit
d56b79b3c0
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ sc_toggle_index(girara_session_t* session, girara_argument_t* argument, unsigned
|
|||
error_free:
|
||||
|
||||
if (Zathura.UI.index != NULL) {
|
||||
g_object_unref(Zathura.UI.index);
|
||||
g_object_ref_sink(Zathura.UI.index);
|
||||
Zathura.UI.index = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue