Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJose Aliste <jose.aliste@gmail.com>2010-07-09 07:45:15 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-07-09 07:45:15 (GMT)
commit978dfa3ec32febd2c69fa886b1abe31437bf0184 (patch)
treeb37430d4cfd0fab725e4ef264b296706fa6b4090 /shell
parent9e7367f27e11f313e0cdb401e196f1f98fa35101 (diff)
[shell] Add ev_window_get_dbus_object_path()
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