aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-04-18 19:52:45 +0200
committerRobert Tari <robert@tari.in>2021-04-18 19:52:45 +0200
commitac4927036fa29a8857ad6baceb1922b33460bb5a (patch)
tree91023e9c1287a0a67bdc0498e0e3b152fa24e83f
parent794e6c49012b65f8e7e1c007b1a843740dbe86ce (diff)
parent1d0e547be8fbab15506df4477b2eb6927343f2ff (diff)
downloadayatana-indicator-datetime-ac4927036fa29a8857ad6baceb1922b33460bb5a.tar.gz
ayatana-indicator-datetime-ac4927036fa29a8857ad6baceb1922b33460bb5a.tar.bz2
ayatana-indicator-datetime-ac4927036fa29a8857ad6baceb1922b33460bb5a.zip
Merge branch 'oSoMoN/fix-build-failures-hirsute'
Attributes GH PR #25: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/25
-rw-r--r--src/engine-eds.cpp2
-rw-r--r--src/exporter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp
index f8a4ce8..277c090 100644
--- a/src/engine-eds.cpp
+++ b/src/engine-eds.cpp
@@ -1210,7 +1210,7 @@ private:
}
}
- g_clear_pointer(&icc, icalcomponent_free);
+ g_clear_pointer(&icc, i_cal_component_free);
}
}
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;