[evince] Fix build with --disable-dbus
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Fix build with --disable-dbus
- Date: Mon, 13 Sep 2010 11:44:05 +0000 (UTC)
commit 4730f4fec8a3cd9fc5a19d0bf1bec3c68e0d4f02
Author: Didier Roche <didrocks ubuntu com>
Date: Mon Sep 13 13:42:25 2010 +0200
Fix build with --disable-dbus
Fixes bug #629498.
shell/ev-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index e1f223e..32db0ef 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]