]> www.fi.muni.cz Git - evince.git/commitdiff
Initialize message_window, this should make ps rendering really work!
authorMarco Pesenti Gritti <marco@gnome.org>
Mon, 7 Feb 2005 17:24:32 +0000 (17:24 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Mon, 7 Feb 2005 17:24:32 +0000 (17:24 +0000)
2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>

        * 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
ps/ps-document.c

index 1184f199c35074b30b059289ff8e888d9747e61d..7dd0ac9982489519badc77b23d9fe605b2c79811 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
+
+       * 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  <clarkbw@cvs.gnome.org>
 
        * data/evince.schemas.in: updated simple error in applyto closing tag
index fd6fc4a62d5785fcf250a806cda5b5e441f465d8..7573771a29430cc9e63b8546da1a8f8a9f014a08 100644 (file)
@@ -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));