]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/ev-poppler.cc
Enable is_open for links, you will need poppler cvs
[evince.git] / pdf / ev-poppler.cc
index aebe7ce5dbceaeba0274aff9e252e2c25b24a7b4..1f1e4e506b5c46f27f0a35e61144f25a6fbb5b23 100644 (file)
@@ -661,11 +661,7 @@ build_tree (PdfDocument      *pdf_document,
                gboolean expand;
                
                action = poppler_index_iter_get_action (iter);
-#ifdef POPPLER_LINK_IS_OPEN
                expand = poppler_index_iter_is_open (iter);
-#else
-               expand = TRUE;
-#endif
                if (action) {
                        gtk_tree_store_append (GTK_TREE_STORE (model), &tree_iter, parent);
                        link = ev_link_from_action (action);