mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 02:43:45 +01:00
Little fix in sc_toggle_index
This commit is contained in:
parent
1fbe59aabf
commit
d56b79b3c0
@ -285,7 +285,7 @@ sc_toggle_index(girara_session_t* session, girara_argument_t* argument, unsigned
|
|||||||
error_free:
|
error_free:
|
||||||
|
|
||||||
if (Zathura.UI.index != NULL) {
|
if (Zathura.UI.index != NULL) {
|
||||||
g_object_unref(Zathura.UI.index);
|
g_object_ref_sink(Zathura.UI.index);
|
||||||
Zathura.UI.index = NULL;
|
Zathura.UI.index = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user