diff options
author | Robert Tari <robert@tari.in> | 2023-08-09 14:45:34 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-08-09 14:45:34 +0200 |
commit | f3cf5352621a0fbf2c1e7f5c3f603fbac1a3b3f7 (patch) | |
tree | fa92dced677dfad2c170a5361bb7e225cee3bd80 /src/dbus-shared.h | |
parent | 25001b09fdf8d10b2c209bfedd882bd90bd5b08a (diff) | |
download | libayatana-appindicator-f3cf5352621a0fbf2c1e7f5c3f603fbac1a3b3f7.tar.gz libayatana-appindicator-f3cf5352621a0fbf2c1e7f5c3f603fbac1a3b3f7.tar.bz2 libayatana-appindicator-f3cf5352621a0fbf2c1e7f5c3f603fbac1a3b3f7.zip |
Replace DBus-GLib with GDBus and drop libdus
fixes https://github.com/AyatanaIndicators/libayatana-appindicator/issues/11
Diffstat (limited to 'src/dbus-shared.h')
-rw-r--r-- | src/dbus-shared.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/dbus-shared.h b/src/dbus-shared.h index 23f44f0..1ec15b8 100644 --- a/src/dbus-shared.h +++ b/src/dbus-shared.h @@ -2,23 +2,30 @@ DBus defaults for everyone to share in the project. Copyright 2009 Canonical Ltd. +Copyright 2023 Robert Tari Authors: Ted Gould <ted@canonical.com> + Robert Tari <robert@tari.in> -This program is free software: you can redistribute it and/or modify it -under the terms of the GNU General Public License version 3, as published +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranties of -MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranties of +MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -You should have received a copy of the GNU General Public License along +You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#define DBUS_SERVICE_DBUS "org.freedesktop.DBus" +#define DBUS_PATH_DBUS "/org/freedesktop/DBus" +#define DBUS_INTERFACE_DBUS "org.freedesktop.DBus" +#define DBUS_INTERFACE_PROPERTIES "org.freedesktop.DBus.Properties" +#define DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER 1 #define INDICATOR_APPLICATION_DBUS_ADDR "org.ayatana.indicator.application" #define INDICATOR_APPLICATION_DBUS_OBJ "/org/ayatana/indicator/application/service" |