[evince/gnome-2-32] Fix build with --disable-dbus
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/gnome-2-32] Fix build with --disable-dbus
- Date: Mon, 13 Sep 2010 11:43:27 +0000 (UTC)
commit abc86ad9d89c0a908e15f3a2fa3acbe377fc7921
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 19a404e..cb9b62c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]