From c27987b5463e16a8a860e643db2091bbb1ce1628 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 7 Feb 2005 17:24:32 +0000 Subject: [PATCH] Initialize message_window, this should make ps rendering really work! 2005-02-07 Marco Pesenti Gritti * ps/ps-document.c: (ps_document_widget_event): Initialize message_window, this should make ps rendering really work! (Never noticed because I was testing with a ps that is causing gs to exit every time!) --- ChangeLog | 8 ++++++++ ps/ps-document.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1184f199..7dd0ac99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-02-07 Marco Pesenti Gritti + + * ps/ps-document.c: (ps_document_widget_event): + + Initialize message_window, this should make ps + rendering really work! (Never noticed because I was + testing with a ps that is causing gs to exit every time!) + 2005-02-07 Bryan Clark * data/evince.schemas.in: updated simple error in applyto closing tag diff --git a/ps/ps-document.c b/ps/ps-document.c index fd6fc4a6..7573771a 100644 --- a/ps/ps-document.c +++ b/ps/ps-document.c @@ -1733,6 +1733,8 @@ ps_document_widget_event (GtkWidget *widget, GdkEvent *event, gpointer data) if(event->type != GDK_CLIENT_EVENT) return FALSE; + gs->message_window = event->client.data.l[0]; + if (event->client.message_type == gs_class->page_atom) { gs->busy = FALSE; ev_document_changed (EV_DOCUMENT (gs)); -- 2.43.5