From: Didier Roche Date: Mon, 13 Sep 2010 11:42:25 +0000 (+0200) Subject: Fix build with --disable-dbus X-Git-Tag: EVINCE_2_91_0~45 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=4730f4fec8a3cd9fc5a19d0bf1bec3c68e0d4f02;p=evince.git Fix build with --disable-dbus Fixes bug #629498. --- diff --git a/shell/ev-window.c b/shell/ev-window.c index e1f223e7..32db0ef2 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1530,7 +1530,9 @@ ev_window_load_job_cb (EvJob *job, if (!ev_job_is_failed (job)) { ev_document_model_set_document (ev_window->priv->model, document); +#ifdef ENABLE_DBUS ev_window_emit_doc_loaded (ev_window); +#endif setup_chrome_from_metadata (ev_window); update_chrome_actions (ev_window); setup_document_from_metadata (ev_window);