aboutsummaryrefslogtreecommitdiff
path: root/src/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.cpp')
-rw-r--r--src/service.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/service.cpp b/src/service.cpp
index 26faec9..e734437 100644
--- a/src/service.cpp
+++ b/src/service.cpp
@@ -76,7 +76,7 @@ public:
{
if (ayatana_common_utils_is_lomiri()) {
- GSettingsSchema *pSchema = g_settings_schema_source_lookup(pSource, "com.lomiri.touch.system", FALSE);
+ GSettingsSchema *pSchema = g_settings_schema_source_lookup(pSource, "com.lomiri.touch.system", TRUE);
if (pSchema != NULL)
{
@@ -91,7 +91,7 @@ public:
}
else {
- GSettingsSchema *pSchema = g_settings_schema_source_lookup(pSource, "org.ayatana.indicator.display", FALSE);
+ GSettingsSchema *pSchema = g_settings_schema_source_lookup(pSource, "org.ayatana.indicator.display", TRUE);
if (pSchema != NULL)
{
@@ -134,7 +134,7 @@ public:
}
}
- pSchema = g_settings_schema_source_lookup (pSource, sSchema, FALSE);
+ pSchema = g_settings_schema_source_lookup (pSource, sSchema, TRUE);
if (pSchema != NULL)
{
@@ -146,7 +146,7 @@ public:
g_error("No %s schema could be found", sSchema);
}
- pSchema = g_settings_schema_source_lookup (pSource, sCursorSchema, FALSE);
+ pSchema = g_settings_schema_source_lookup (pSource, sCursorSchema, TRUE);
if (pSchema != NULL)
{
@@ -158,7 +158,7 @@ public:
g_error("No %s schema could be found", sCursorSchema);
}
- pSchema = g_settings_schema_source_lookup (pSource, sMetacitySchema, FALSE);
+ pSchema = g_settings_schema_source_lookup (pSource, sMetacitySchema, TRUE);
if (pSchema != NULL)
{
@@ -179,7 +179,7 @@ public:
sSchema = "org.gnome.desktop.interface";
}
- pSchema = g_settings_schema_source_lookup (pSource, sSchema, FALSE);
+ pSchema = g_settings_schema_source_lookup (pSource, sSchema, TRUE);
if (pSchema != NULL)
{
@@ -334,7 +334,7 @@ private:
#ifdef COLOR_TEMP_ENABLED
static void onUserChanged (GDBusConnection *pConnection, const gchar *sSender, const gchar *sPath, const gchar *sInterface, const gchar *sSignal, GVariant *pParameters, gpointer pUserData)
{
- DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pUserData;
+ DisplayIndicator::Impl *pImpl = static_cast<DisplayIndicator::Impl*>(pUserData);
g_variant_get (pParameters, "(s)", &pImpl->sUser);
loadManager (pImpl);
}
@@ -449,7 +449,7 @@ private:
static gboolean updateColor (gpointer pData)
{
- DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
+ DisplayIndicator::Impl *pImpl = static_cast<DisplayIndicator::Impl*>(pData);
if (pImpl->bReadingAccountsService)
{
@@ -760,7 +760,7 @@ private:
static void onGeoClueLoaded (GObject *pObject, GAsyncResult *pResult, gpointer pData)
{
- DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
+ DisplayIndicator::Impl *pImpl = static_cast<DisplayIndicator::Impl*>(pData);
GError *pError = NULL;
GClueSimple *pSimple = gclue_simple_new_finish (pResult, &pError);
@@ -816,7 +816,7 @@ private:
{
g_simple_action_set_state (pAction, pVariant);
- DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
+ DisplayIndicator::Impl *pImpl = static_cast<DisplayIndicator::Impl*>(pData);
if (pImpl->bAutoSliderUpdate)
{