Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ps/ps-document.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-07-08 10:03:38 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-07-08 10:03:38 (GMT)
commitae0d3afcc39b13f01e0fbac74cf583f67a229382 (patch)
tree2017c0f3574ffb88453f650506e19efe896e8944 /ps/ps-document.h
parent2c3925fbeff020a1de5ed67a9625f9c5edc96944 (diff)
Do not leak the target window
2005-07-08 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_dispose), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: Do not leak the target window
Diffstat (limited to 'ps/ps-document.h')
-rw-r--r--ps/ps-document.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ps/ps-document.h b/ps/ps-document.h
index 87eaddb..7ecad29 100644
--- a/ps/ps-document.h
+++ b/ps/ps-document.h
@@ -25,6 +25,7 @@
#define __PS_DOCUMENT_H__
#include <sys/types.h>
+#include <gtk/gtkwidget.h>
#include "ev-document.h"
#include "ps.h"
@@ -43,6 +44,7 @@ typedef struct _PSDocumentClass PSDocumentClass;
struct _PSDocument {
GObject object;
+ GtkWidget *target_window;
GdkWindow *pstarget;
GdkPixmap *bpixmap;
long message_window; /* Used by ghostview to receive messages from app */