mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
g_settings_bind: add some g_return checks
https://bugzilla.gnome.org/show_bug.cgi?id=636405
This commit is contained in:
parent
e1b41dcb91
commit
2b0171a808
@ -2787,6 +2787,9 @@ g_settings_bind_with_mapping (GSettings *settings,
|
||||
GQuark binding_quark;
|
||||
|
||||
g_return_if_fail (G_IS_SETTINGS (settings));
|
||||
g_return_if_fail (key != NULL);
|
||||
g_return_if_fail (G_IS_OBJECT (object));
|
||||
g_return_if_fail (property != NULL);
|
||||
g_return_if_fail (~flags & G_SETTINGS_BIND_INVERT_BOOLEAN);
|
||||
|
||||
objectclass = G_OBJECT_GET_CLASS (object);
|
||||
|
Loading…
Reference in New Issue
Block a user