diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-06-28 10:50:09 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-06-28 10:50:09 -0400 |
commit | 0db14c2008893a3fec9182b28947ff8efbf6cf7d (patch) | |
tree | c340ac55ae65a421b2b0dc58b8695dada1441267 /src/settings-manager.c | |
parent | 2ada6ebcaa4d92f1e1374c8ad7564c720e5930b2 (diff) | |
parent | f51439abe6747ef022989a2aa6262481dc6c771d (diff) | |
download | ayatana-indicator-sound-0db14c2008893a3fec9182b28947ff8efbf6cf7d.tar.gz ayatana-indicator-sound-0db14c2008893a3fec9182b28947ff8efbf6cf7d.tar.bz2 ayatana-indicator-sound-0db14c2008893a3fec9182b28947ff8efbf6cf7d.zip |
Merged
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; } |