diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-05-16 12:59:03 -0500 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-28 10:17:14 +0200 |
commit | 39571b0e05c78627d233b2f77250de459d73f4a6 (patch) | |
tree | 275260eeace7790c5763d3ed8668386e417d7e24 /tests/test-notify.cc | |
parent | 557e10a031b886dc670bdf5918c3984edbace5ac (diff) | |
download | ayatana-indicator-power-39571b0e05c78627d233b2f77250de459d73f4a6.tar.gz ayatana-indicator-power-39571b0e05c78627d233b2f77250de459d73f4a6.tar.bz2 ayatana-indicator-power-39571b0e05c78627d233b2f77250de459d73f4a6.zip |
fix cmake warning of the test apps' dependency on the service library
Diffstat (limited to 'tests/test-notify.cc')
-rw-r--r-- | tests/test-notify.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-notify.cc b/tests/test-notify.cc index cd5b6f1..8d7f0d8 100644 --- a/tests/test-notify.cc +++ b/tests/test-notify.cc @@ -61,8 +61,6 @@ protected: static constexpr int NOTIFICATION_CLOSED_API {3}; static constexpr int NOTIFICATION_CLOSED_UNDEFINED {4}; - static constexpr char const * APP_NAME {"ayatana-indicator-power-service"}; - static constexpr char const * METHOD_CLOSE {"CloseNotification"}; static constexpr char const * METHOD_NOTIFY {"Notify"}; static constexpr char const * METHOD_GET_CAPS {"GetCapabilities"}; @@ -135,7 +133,7 @@ protected: g_dbus_connection_set_exit_on_close(bus, FALSE); g_object_add_weak_pointer(G_OBJECT(bus), reinterpret_cast<gpointer*>(&bus)); - notify_init(APP_NAME); + notify_init(SERVICE_EXEC); } virtual void TearDown() |