diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-06-28 10:51:50 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-06-28 10:51:50 -0400 |
commit | fbe33a6d8e37468d5f01c5747c9ccb1763208db6 (patch) | |
tree | 91f441e199f5b319b30f21fbbe421323dc9bdc2a /src/settings-manager.c | |
parent | b004f06319c37e63adee52cff5a6258e900ad8a2 (diff) | |
parent | f11a6bb0c8bc68d0a6972e94140f7b5d96881dba (diff) | |
download | ayatana-indicator-sound-fbe33a6d8e37468d5f01c5747c9ccb1763208db6.tar.gz ayatana-indicator-sound-fbe33a6d8e37468d5f01c5747c9ccb1763208db6.tar.bz2 ayatana-indicator-sound-fbe33a6d8e37468d5f01c5747c9ccb1763208db6.zip |
Import upstream version 0.7.2
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; } |