brasero r1209 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1209 - in trunk: . src
- Date: Fri, 29 Aug 2008 12:58:27 +0000 (UTC)
Author: philippr
Date: Fri Aug 29 12:58:26 2008
New Revision: 1209
URL: http://svn.gnome.org/viewvc/brasero?rev=1209&view=rev
Log:
Fix a crash introduced by recent changes
* src/brasero-burn-dialog.c (brasero_burn_dialog_notify_success):
Modified:
trunk/ChangeLog
trunk/src/brasero-burn-dialog.c
Modified: trunk/src/brasero-burn-dialog.c
==============================================================================
--- trunk/src/brasero-burn-dialog.c (original)
+++ trunk/src/brasero-burn-dialog.c Fri Aug 29 12:58:26 2008
@@ -1631,7 +1631,6 @@
brasero_burn_dialog_notify_success (BraseroBurnDialog *dialog)
{
gint64 rate;
- GSList *iter;
BraseroMedia media;
BraseroDrive *drive;
gchar *primary = NULL;
@@ -1686,8 +1685,9 @@
rate = 0;
if (dialog->priv->rates) {
int num = 0;
+ GSList *iter;
- for (iter = dialog->priv->rates; iter; iter = iter->data) {
+ for (iter = dialog->priv->rates; iter; iter = iter->next) {
rate += GPOINTER_TO_INT (iter->data);
num ++;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]