From 978dfa3ec32febd2c69fa886b1abe31437bf0184 Mon Sep 17 00:00:00 2001 From: Jose Aliste Date: Fri, 09 Jul 2010 07:45:15 +0000 Subject: [shell] Add ev_window_get_dbus_object_path() --- (limited to 'shell') 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 -- cgit v0.9.1