mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 20:23:49 +01:00
Fix segmentation fault in nav_index
This commit is contained in:
parent
bff9b91695
commit
25f2f942e8
@ -2100,6 +2100,9 @@ gboolean cb_index_row_activated(GtkTreeView* treeview, GtkTreePath* path,
|
||||
void
|
||||
sc_navigate_index(Argument* argument)
|
||||
{
|
||||
if(!Zathura.UI.index)
|
||||
return;
|
||||
|
||||
GtkTreeView *treeview = gtk_container_get_children(GTK_CONTAINER(Zathura.UI.index))->data;
|
||||
GtkTreePath *path;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user