mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-15 08:43:47 +01:00
Fix segmentation fault in nav_index
This commit is contained in:
parent
5d7c3b0c9b
commit
047c6976d4
@ -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 New Issue
Block a user