Commit 7adf189c authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

dbus-manager: deprecate old interface

!504
parent 1a26621d
......@@ -23,6 +23,13 @@
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<interface name='org.gnome.Nautilus.FileOperations'>
<!--
This interface has been deprecated. Please switch to
org.gnome.Nautilus.FileOperations2 interace.
-->
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
<method name='CopyURIs'>
<arg type='as' name='SourceFilesURIList' direction='in'/>
<arg type='s' name='DestinationDirectoryURI' direction='in'/>
......
......@@ -516,7 +516,10 @@ undo_manager_changed (NautilusDBusManager *self)
static void
nautilus_dbus_manager_init (NautilusDBusManager *self)
{
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
self->file_operations = nautilus_dbus_file_operations_skeleton_new ();
G_GNUC_END_IGNORE_DEPRECATIONS
self->file_operations2 = nautilus_dbus_file_operations2_skeleton_new ();
g_signal_connect (self->file_operations,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment