From 19923632dad08eaa7db476d77035db5135abb9d9 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Thu, 4 Mar 2021 23:30:27 +0100 Subject: 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 --- src/exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exporter.cpp') 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(g_object_ref(G_OBJECT(bus))); + m_bus = static_cast(g_object_ref(bus)); // export the alarm properties GError * error = nullptr; -- cgit v1.2.3