From 08dc4040951ec1e3945e07107d008a4ce7c928c9 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 22 Dec 2004 14:22:25 +0000 Subject: *** empty log message *** --- (limited to 'shell/ev-window.c') 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 #include @@ -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; -- cgit v0.9.1