Fix segmentation fault in nav_index

This commit is contained in:
Moritz Lipp 2010-07-13 08:36:16 +02:00
parent bff9b91695
commit 25f2f942e8

View File

@ -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;