Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
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
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!)
-rw-r--r--ChangeLog8
-rw-r--r--ps/ps-document.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1184f19..7dd0ac9 100644
--- 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
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));