summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar-links.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-sidebar-links.c')
-rw-r--r--shell/ev-sidebar-links.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index 5d8087a1..ab798a1b 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -217,11 +217,9 @@ static void
selection_changed_callback (GtkTreeSelection *selection,
EvSidebarLinks *ev_sidebar_links)
{
- EvDocument *document;
GtkTreeModel *model;
GtkTreeIter iter;
- document = EV_DOCUMENT (ev_sidebar_links->priv->document);
g_return_if_fail (ev_sidebar_links->priv->document != NULL);
if (gtk_tree_selection_get_selected (selection, &model, &iter)) {