summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar-links.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-01 18:28:19 +0300
committermonsta <[email protected]>2016-02-01 18:28:19 +0300
commit4190ce2680b339c9bfc3d51008811f0b1abb1b9d (patch)
treede22c54c09fb01ec3faf726926abd021d6861f5d /shell/ev-sidebar-links.c
parent3d33cb3373eaba1615165b8830a19458cd6a7df2 (diff)
downloadatril-4190ce2680b339c9bfc3d51008811f0b1abb1b9d.tar.bz2
atril-4190ce2680b339c9bfc3d51008811f0b1abb1b9d.tar.xz
fix some build warnings
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)) {