Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-12-22 03:23:47 (GMT)
committer Owen Taylor <otaylor@src.gnome.org>2004-12-22 03:23:47 (GMT)
commit484bd6fc379965a3ad83e758135691d84d595f87 (patch)
treec27471948365ec200a2328cf4566d44cffcefcd2 /shell/ev-window.c
parent1e247284337090fd8f65e4c191652647d95a36ac (diff)
PDFDoc constructor assumes ownership of the string passed in.
Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc constructor assumes ownership of the string passed in. * shell/ev-window.c (ev_window_open): Destroy the error dialog once we've displayed it.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index d04dd91..72fc627 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -177,6 +177,7 @@ ev_window_open (EvWindow *ev_window, const char *uri)
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
+ gtk_widget_destroy (dialog);
g_error_free (error);
}