mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 02:17:51 +02:00
Fix get/set property of GSettingsBackend
The backend variable needs to be initialized.
This commit is contained in:
@@ -279,7 +279,7 @@ g_settings_backend_set_property (GObject *object,
|
||||
const GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
GSettingsBackend *backend;
|
||||
GSettingsBackend *backend = G_SETTINGS_BACKEND (object);
|
||||
|
||||
switch (prop_id)
|
||||
{
|
||||
@@ -298,7 +298,7 @@ g_settings_backend_get_property (GObject *object,
|
||||
GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
GSettingsBackend *backend;
|
||||
GSettingsBackend *backend = G_SETTINGS_BACKEND (object);
|
||||
|
||||
switch (prop_id)
|
||||
{
|
||||
|
Reference in New Issue
Block a user