[gnome-control-center] sound: Fix possible infinite loop in combo box
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sound: Fix possible infinite loop in combo box
- Date: Thu, 20 Oct 2011 15:11:40 +0000 (UTC)
commit f625fbbb59c549cf8dcb550d0c350af07d5132a2
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 20 16:10:06 2011 +0100
sound: Fix possible infinite loop in combo box
panels/sound/gvc-combo-box.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/sound/gvc-combo-box.c b/panels/sound/gvc-combo-box.c
index 9cc2a25..a7072fb 100644
--- a/panels/sound/gvc-combo-box.c
+++ b/panels/sound/gvc-combo-box.c
@@ -262,7 +262,7 @@ gvc_combo_box_set_active (GvcComboBox *combo_box,
gtk_combo_box_set_active_iter (GTK_COMBO_BOX (combo_box->priv->combobox), &iter);
return;
}
- gtk_tree_model_iter_next (combo_box->priv->model, &iter);
+ cont = gtk_tree_model_iter_next (combo_box->priv->model, &iter);
}
g_warning ("Could not find id '%s' in combo box", id);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]