Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2004-12-22 14:22:25 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2004-12-22 14:22:25 (GMT)
commit08dc4040951ec1e3945e07107d008a4ce7c928c9 (patch)
treef4506c46c9ea6149dce1e4904fdfd9661b1956f4 /shell/ev-window.c
parent2ce0949d9fa8036a38799485484a55971386a5fe (diff)
*** empty log message ***
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index fb3570a..b23a1a6 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -36,6 +36,7 @@
#include "eggfindbar.h"
#include "pdf-document.h"
+#include "gtkgs.h"
#include <glib/gi18n.h>
#include <gtk/gtk.h>
@@ -214,6 +215,8 @@ ev_window_open (EvWindow *ev_window, const char *uri)
if (!strcmp (mime_type, "application/pdf"))
document = g_object_new (PDF_TYPE_DOCUMENT, NULL);
+ else if (!strcmp (mime_type, "application/postscript"))
+ document = g_object_new (GTK_GS_TYPE, NULL);
if (document) {
GError *error = NULL;