[gnome-documents/gnome-3-16] places-links: Add the placeholer text for PostScript files
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/gnome-3-16] places-links: Add the placeholer text for PostScript files
- Date: Thu, 9 Apr 2015 08:04:49 +0000 (UTC)
commit 2e8aed107819be2f925b3d301b2bb318ba625aae
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]