aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-03-08 22:42:59 +0100
committerRobert Tari <robert@tari.in>2023-03-08 22:51:55 +0100
commit8868575217c487ec3916c761f9ce41e550ce1eb4 (patch)
tree817fd1c4db48ac4368d07c82167ac73ccb3ea69d /src
parentef9cf41767a7a70dee00059556dc48f420bd60e7 (diff)
downloadayatana-indicator-display-8868575217c487ec3916c761f9ce41e550ce1eb4.tar.gz
ayatana-indicator-display-8868575217c487ec3916c761f9ce41e550ce1eb4.tar.bz2
ayatana-indicator-display-8868575217c487ec3916c761f9ce41e550ce1eb4.zip
src/rotation-lock.cpp: Replace gclue_simple_new_with_thresholds functions
Diffstat (limited to 'src')
-rw-r--r--src/rotation-lock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rotation-lock.cpp b/src/rotation-lock.cpp
index 9864744..1a8c98d 100644
--- a/src/rotation-lock.cpp
+++ b/src/rotation-lock.cpp
@@ -127,7 +127,7 @@ public:
if (sTest == NULL || !g_str_equal (sTest, "rotation-lock-test"))
{
- gclue_simple_new_with_thresholds ("ayatana-indicator-display", GCLUE_ACCURACY_LEVEL_CITY, 0, 0, NULL, onGeoClueLoaded, this);
+ gclue_simple_new ("ayatana-indicator-display", GCLUE_ACCURACY_LEVEL_CITY, NULL, onGeoClueLoaded, this);
}
GVariant *pProfile = g_settings_get_value (this->m_settings, "color-temp-profile");
@@ -224,7 +224,7 @@ private:
{
RotationLockIndicator::Impl *pImpl = (RotationLockIndicator::Impl*) pData;
GError *pError = NULL;
- GClueSimple *pSimple = gclue_simple_new_with_thresholds_finish (pResult, &pError);
+ GClueSimple *pSimple = gclue_simple_new_finish (pResult, &pError);
if (pError != NULL)
{