[gnome-documents] places-links: Add the placeholer text for PostScript files



commit 9798d943600233b70672e90ed8788f3b6214e91f
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Apr 9 10:02:11 2015 +0200

    places-links: Add the placeholer text for PostScript files
    
    Since we hide the "Contents" tab instead of showing a blank table,
    this is a minor issue in master. However, it is still relevant for
    older branches.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741780

 src/lib/gd-places-links.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/lib/gd-places-links.c b/src/lib/gd-places-links.c
index 314a584..5fea9db 100644
--- a/src/lib/gd-places-links.c
+++ b/src/lib/gd-places-links.c
@@ -355,10 +355,6 @@ gd_places_links_document_changed_cb (EvDocumentModel *model,
         EvDocument *document = ev_document_model_get_document (model);
         GdPlacesLinksPrivate *priv = self->priv;
 
-        if (!EV_IS_DOCUMENT_LINKS (document)) {
-                return;
-        }
-
         g_clear_object (&priv->document);
         priv->document = g_object_ref (document);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]