[grilo-plugins] podcasts: Return on error conditions
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] podcasts: Return on error conditions
- Date: Tue, 30 Nov 2010 08:39:26 +0000 (UTC)
commit e4005813930785afee19cb8365b9495777c2f4e0
Author: Iago Toral Quiroga <itoral igalia com>
Date: Tue Nov 30 09:38:51 2010 +0100
podcasts: Return on error conditions
src/podcasts/grl-podcasts.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/podcasts/grl-podcasts.c b/src/podcasts/grl-podcasts.c
index 30f5eaa..20d6627 100644
--- a/src/podcasts/grl-podcasts.c
+++ b/src/podcasts/grl-podcasts.c
@@ -1381,6 +1381,7 @@ grl_podcasts_source_browse (GrlMediaSource *source,
"No database connection");
bs->callback (bs->source, bs->browse_id, NULL, 0, bs->user_data, error);
g_error_free (error);
+ return;
}
/* Configure browse operation */
@@ -1424,6 +1425,7 @@ grl_podcasts_source_search (GrlMediaSource *source,
"No database connection");
ss->callback (ss->source, ss->search_id, NULL, 0, ss->user_data, error);
g_error_free (error);
+ return;
}
os = g_slice_new0 (OperationSpec);
@@ -1456,6 +1458,7 @@ grl_podcasts_source_query (GrlMediaSource *source, GrlMediaSourceQuerySpec *qs)
"No database connection");
qs->callback (qs->source, qs->query_id, NULL, 0, qs->user_data, error);
g_error_free (error);
+ return;
}
os = g_slice_new0 (OperationSpec);
@@ -1490,6 +1493,7 @@ grl_podcasts_source_metadata (GrlMediaSource *source,
"No database connection");
ms->callback (ms->source, ms->media, ms->user_data, error);
g_error_free (error);
+ return;
}
media_id = grl_media_get_id (ms->media);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]