+2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * pdf/ev-poppler.cc:
+
+ Fix for Bug 309080: crash on window close.
+
+ * shell/ev-page-action.c: (page_changed_cb):
+
+ Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
+ jensgr@gmx.net (Jens Granseuer).
+
2005-06-25 Marcel Telka <marcel@telka.sk>
* configure.in (ALL_LINGUAS): Added sk.
{
PdfDocument *pdf_document = PDF_DOCUMENT(object);
+ if (pdf_document->search) {
+ pdf_document_search_free (pdf_document->search);
+ pdf_document->search = NULL;
+ }
+
if (pdf_document->document) {
g_object_unref (pdf_document->document);
}
g_assert (proxy);
if (page_cache != NULL && page >= 0) {
-
+ gchar *page_label;
+
gtk_entry_set_width_chars (GTK_ENTRY (proxy->entry),
CLAMP (ev_page_cache_get_max_label_chars (page_cache),
4, 12));
- gchar *page_label = ev_page_cache_get_page_label (page_cache, page);
+ page_label = ev_page_cache_get_page_label (page_cache, page);
gtk_entry_set_text (GTK_ENTRY (proxy->entry), page_label);
gtk_editable_set_position (GTK_EDITABLE (proxy->entry), -1);
g_free (page_label);