aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;