diff options
Diffstat (limited to 'src/settings-manager.c')
-rw-r--r-- | src/settings-manager.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/settings-manager.c b/src/settings-manager.c index d433cb4..748cffe 100644 --- a/src/settings-manager.c +++ b/src/settings-manager.c @@ -1,4 +1,4 @@ -/* settings-manager.c generated by valac 0.12.0, the Vala compiler +/* settings-manager.c generated by valac 0.12.1, the Vala compiler * generated from settings-manager.vala, do not modify */ /* @@ -100,7 +100,9 @@ gchar** settings_manager_fetch_blacklist (SettingsManager* self, int* result_len g_return_val_if_fail (self != NULL, NULL); _tmp1_ = _tmp0_ = g_settings_get_strv (self->priv->settings, "blacklisted-media-players"); _tmp2_ = _tmp1_; - *result_length1 = _vala_array_length (_tmp0_); + if (result_length1) { + *result_length1 = _vala_array_length (_tmp0_); + } result = _tmp2_; return result; } |