X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-page-action.c;h=fc81cb709932f516a2f4d0fd82a4f2559da18653;hb=e7a7ecbb0f3b55029821fe439cd8f7fecf1478ff;hp=73152b4e2240576a9fd85a34e48f0432a5e5a84e;hpb=bc0670b7f0170108f71923ddb7aefddb3cbad08b;p=evince.git diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c index 73152b4e..fc81cb70 100644 --- a/shell/ev-page-action.c +++ b/shell/ev-page-action.c @@ -298,7 +298,7 @@ build_new_tree_cb (GtkTreeModel *model, EV_DOCUMENT_LINKS_COLUMN_LINK, &link, -1); - if (link && ev_link_get_link_type (link) == EV_LINK_TYPE_PAGE) { + if (link && ev_link_get_page (link) >= 0) { GtkTreeIter filter_iter; gtk_list_store_append (GTK_LIST_STORE (filter_model), &filter_iter);