From: Didier Roche Date: Mon, 13 Sep 2010 11:42:25 +0000 (+0200) Subject: Fix build with --disable-dbus X-Git-Tag: EVINCE_2_32_0~19 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=abc86ad9d89c0a908e15f3a2fa3acbe377fc7921;p=evince.git Fix build with --disable-dbus Fixes bug #629498. --- diff --git a/shell/ev-window.c b/shell/ev-window.c index 19a404e4..cb9b62c3 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1545,7 +1545,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);