2007-02-18 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_setup_document):
Fix crash when loading documents with only one page.
svn path=/trunk/; revision=2335
+2007-02-18 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-window.c: (ev_window_setup_document):
+
+ Fix crash when loading documents with only one page.
+
2007-02-16 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/dvi/dvi-document.c:
ev_window_clear_thumbnail_job (ev_window);
ev_page_cache_get_size (ev_window->priv->page_cache,
- 1, 0, 1.0,
+ 0, 0, 1.0,
&page_width, &page_height);
scale = (gdouble)128 / (gdouble)page_width;