From 8868575217c487ec3916c761f9ce41e550ce1eb4 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 8 Mar 2023 22:42:59 +0100 Subject: src/rotation-lock.cpp: Replace gclue_simple_new_with_thresholds functions --- src/rotation-lock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3