[evince] [shell] Add ev_window_get_dbus_object_path()
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [shell] Add ev_window_get_dbus_object_path()
- Date: Fri, 9 Jul 2010 08:14:22 +0000 (UTC)
commit 978dfa3ec32febd2c69fa886b1abe31437bf0184
Author: Jose Aliste <jose aliste gmail com>
Date: Fri Jul 9 09:45:15 2010 +0200
[shell] Add ev_window_get_dbus_object_path()
shell/ev-window.c | 9 +++++++++
shell/ev-window.h | 2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index e79bf00..b00deee 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6728,3 +6728,12 @@ ev_window_new (void)
return ev_window;
}
+const gchar *
+ev_window_get_dbus_object_path (EvWindow *ev_window)
+{
+#ifdef ENABLE_DBUS
+ return ev_window->priv->dbus_object_path;
+#else
+ return NULL;
+#endif
+}
diff --git a/shell/ev-window.h b/shell/ev-window.h
index 09055da..1173390 100644
--- a/shell/ev-window.h
+++ b/shell/ev-window.h
@@ -85,6 +85,8 @@ gboolean ev_window_is_empty (const EvWindow *ev_window);
void ev_window_print_range (EvWindow *ev_window,
int first_page,
int last_page);
+const gchar * ev_window_get_dbus_object_path (EvWindow *ev_window);
+
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]