Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c9
-rw-r--r--shell/ev-window.h2
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