diff options
author | Ross Burton <rburton@src.gnome.org> | 2003-04-02 12:38:50 +0000 |
---|---|---|
committer | Ross Burton <rburton@src.gnome.org> | 2003-04-02 12:38:50 +0000 |
commit | 0d0238f97d3af55cc4cf8d9939bde5c18fcc1259 (patch) | |
tree | 35987de22a9b3524e71c07517241382bf2723dc3 | |
parent | 65ede50119f0fbff6b9c0773adba8b34c6de4e68 (diff) |
Fix an ObiWan again
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/glade-test.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2003-04-02 Ross Burton <ross@burtonini.com> + * tests/glade-test.c (pop_and_rip): Whoops, I'd "fixed" the ObiWan + and made it an ObiTwo. Fixing again. + +2003-04-02 Ross Burton <ross@burtonini.com> + * tests/glade-test.c: Whoops, fix some compile errors. 2003-04-02 Ross Burton <ross@burtonini.com> diff --git a/tests/glade-test.c b/tests/glade-test.c index 02bdbce..466f410 100644 --- a/tests/glade-test.c +++ b/tests/glade-test.c @@ -386,7 +386,7 @@ static void pop_and_rip (void) track = pending->data; pending = g_list_next (pending); - left = total_ripping - g_list_length (pending) + 1; /* +1 as we've popped already */ + left = total_ripping - (g_list_length (pending) + 1); /* +1 as we've popped already */ gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (album_progress), (float)left/(float)total_ripping); track_duration = track->duration; |