LwPreferences* gw_application_get_preferences (GwApplication *application) { GwApplicationPrivate *priv; priv = application->priv; if (priv->preferences == NULL) { priv->preferences = lw_preferences_new (NULL); } return priv->preferences; }
LwPreferences* w_application_get_preferences (WApplication *application) { WApplicationPrivate *priv; priv = application->priv; if (priv->preferences == NULL) { g_io_extension_point_register ("gsettings-backend"); priv->preferences = lw_preferences_new (g_memory_settings_backend_new ()); } return priv->preferences; }