mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-15 01:45:59 +01:00
Fix segmentation fault in nav_index
This commit is contained in:
parent
bff9b91695
commit
25f2f942e8
1 changed files with 3 additions and 0 deletions
|
@ -2100,6 +2100,9 @@ gboolean cb_index_row_activated(GtkTreeView* treeview, GtkTreePath* path,
|
||||||
void
|
void
|
||||||
sc_navigate_index(Argument* argument)
|
sc_navigate_index(Argument* argument)
|
||||||
{
|
{
|
||||||
|
if(!Zathura.UI.index)
|
||||||
|
return;
|
||||||
|
|
||||||
GtkTreeView *treeview = gtk_container_get_children(GTK_CONTAINER(Zathura.UI.index))->data;
|
GtkTreeView *treeview = gtk_container_get_children(GTK_CONTAINER(Zathura.UI.index))->data;
|
||||||
GtkTreePath *path;
|
GtkTreePath *path;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue