[rhythmbox] missing-plugins: fix crash after successful installation
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] missing-plugins: fix crash after successful installation
- Date: Sun, 21 Nov 2010 06:16:58 +0000 (UTC)
commit f9502f5cfdcc8612383a4c65c8737cd8025c8bd5
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Nov 21 16:16:41 2010 +1000
missing-plugins: fix crash after successful installation
sources/rb-import-errors-source.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/sources/rb-import-errors-source.c b/sources/rb-import-errors-source.c
index 0a442cd..2ec7c4b 100644
--- a/sources/rb-import-errors-source.c
+++ b/sources/rb-import-errors-source.c
@@ -434,8 +434,11 @@ missing_plugins_retry_cb (gpointer instance, gboolean installed, RBImportErrorsS
return;
}
- g_object_get (source, "entry-type", &error_entry_type, NULL);
+ if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (source->priv->missing_plugin_model), &iter) == FALSE) {
+ return;
+ }
+ g_object_get (source, "entry-type", &error_entry_type, NULL);
do {
RhythmDBEntry *entry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]