sound-juicer r1989 - in trunk: . src



Author: rburton
Date: Mon Jan 21 10:14:27 2008
New Revision: 1989
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=1989&view=rev

Log:
2008-01-21  Ross Burton  <ross burtonini com>

	* src/sj-play.c:
	Remove more redundant logic (#509186, thanks Bill O'Shea)


Modified:
   trunk/ChangeLog
   trunk/src/sj-play.c

Modified: trunk/src/sj-play.c
==============================================================================
--- trunk/src/sj-play.c	(original)
+++ trunk/src/sj-play.c	Mon Jan 21 10:14:27 2008
@@ -439,19 +439,9 @@
   if (!gtk_tree_model_get_iter (model, &iter, path))
     return;
   gtk_tree_model_get (model, &iter, COLUMN_NUMBER, &track, -1);
-  if (gtk_list_store_iter_is_valid (GTK_LIST_STORE (model), &current_iter))
-      gtk_list_store_set (track_store, &current_iter, COLUMN_STATE, STATE_IDLE, -1);
-
   if (setup (&err)) {
     seek_to_track = track - 1;
-
-    if (current_track != -1) {
-      if (!gtk_tree_model_iter_nth_child (GTK_TREE_MODEL (track_store),
-                                          &current_iter, NULL, current_track))
-        return;
-    }
     set_gst_ui_and_play ();
-    current_iter = iter;
   } else {
     GtkWidget *dialog;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]