diff options
author | Olivier Tilloy <olivier.tilloy@canonical.com> | 2021-03-04 23:30:27 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier.tilloy@canonical.com> | 2021-03-04 23:30:27 +0100 |
commit | 19923632dad08eaa7db476d77035db5135abb9d9 (patch) | |
tree | 6eddb66374c82c6c7750ce19f10fad9260594197 /src/exporter.cpp | |
parent | e3e400a1266281d1f4f2ced2a9d80fb38ee5392b (diff) | |
download | ayatana-indicator-datetime-19923632dad08eaa7db476d77035db5135abb9d9.tar.gz ayatana-indicator-datetime-19923632dad08eaa7db476d77035db5135abb9d9.tar.bz2 ayatana-indicator-datetime-19923632dad08eaa7db476d77035db5135abb9d9.zip |
Fix a couple of build failures on Ubuntu hirsute:
- src/engine-eds.cpp: use i_cal_component_free for ICalComponent
- src/exporter.cpp: drop unnecessary G_OBJECT cast
Diffstat (limited to 'src/exporter.cpp')
-rw-r--r-- | src/exporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exporter.cpp b/src/exporter.cpp index 305adfb..ea514c0 100644 --- a/src/exporter.cpp +++ b/src/exporter.cpp @@ -162,7 +162,7 @@ private: void on_bus_acquired(GDBusConnection* bus, const gchar* /*name*/) { - m_bus = static_cast<GDBusConnection*>(g_object_ref(G_OBJECT(bus))); + m_bus = static_cast<GDBusConnection*>(g_object_ref(bus)); // export the alarm properties GError * error = nullptr; |