]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-sidebar-links.c
Add 'timestamp' argument to ev_application_open_window and
[evince.git] / shell / ev-sidebar-links.c
index 55f2ddb341d787c29835781fea65e270e41708e4..58dac08ca9f835ed39c9688dc128c00bf8a3f80d 100644 (file)
@@ -578,11 +578,12 @@ job_finished_callback (EvJobLinks     *job,
        GtkTreeSelection *selection;
 
        priv = sidebar_links->priv;
-
-       priv->model = g_object_ref (job->model);
+       
+       priv->model = job->model;
        g_object_notify (G_OBJECT (sidebar_links), "model");
 
        gtk_tree_view_set_model (GTK_TREE_VIEW (priv->tree_view), job->model);
+       
        g_object_unref (job);
        priv->job = NULL;