]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Add ev_window_get_dbus_object_path()
authorJose Aliste <jose.aliste@gmail.com>
Fri, 9 Jul 2010 07:45:15 +0000 (09:45 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 9 Jul 2010 07:45:15 +0000 (09:45 +0200)
shell/ev-window.c
shell/ev-window.h

index e79bf00805000b67a9e76e40dfafa546573abd36..b00deeea0a4660f66fd1f04efa8f8b552c0a3dd8 100644 (file)
@@ -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
+}
index 09055da8425869895f17591af13436da5a3cb0e3..1173390b88e0bdc541b7d2b0ff48d02213e7cdb1 100644 (file)
@@ -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