mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
settings: freeze notification on XSETTINGS notify
This commit is contained in:
parent
98c3c84c00
commit
b470d6930d
@ -112,6 +112,8 @@ clutter_backend_x11_xsettings_notify (const char *name,
|
|||||||
if (name == NULL || *name == '\0')
|
if (name == NULL || *name == '\0')
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
g_object_freeze_notify (G_OBJECT (settings));
|
||||||
|
|
||||||
for (i = 0; i < _n_clutter_settings_map; i++)
|
for (i = 0; i < _n_clutter_settings_map; i++)
|
||||||
{
|
{
|
||||||
if (g_strcmp0 (name, CLUTTER_SETTING_X11_NAME (i)) == 0)
|
if (g_strcmp0 (name, CLUTTER_SETTING_X11_NAME (i)) == 0)
|
||||||
@ -163,6 +165,8 @@ clutter_backend_x11_xsettings_notify (const char *name,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_object_thaw_notify (G_OBJECT (settings));
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user