Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ps
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2005-02-07 17:24:32 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-02-07 17:24:32 (GMT)
commitc27987b5463e16a8a860e643db2091bbb1ce1628 (patch)
tree07fefbc7e2657168754acce3e81ed59b35f01f41 /ps
parent857abbe1dbdfccbfd29180080fb0c0aff98f8343 (diff)
Initialize message_window, this should make ps rendering really work!
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!)
Diffstat (limited to 'ps')
-rw-r--r--ps/ps-document.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ps/ps-document.c b/ps/ps-document.c
index fd6fc4a..7573771 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));