diff src/audacious/ui_playlist_widget.c @ 4739:4d15507f568c

remove reduntant call
author Tomasz Mon <desowin@gmail.com>
date Sat, 19 Jul 2008 16:57:45 +0200
parents e14398ef0868
children
line wrap: on
line diff
--- a/src/audacious/ui_playlist_widget.c	Sat Jul 19 12:00:38 2008 +0200
+++ b/src/audacious/ui_playlist_widget.c	Sat Jul 19 16:57:45 2008 +0200
@@ -47,7 +47,7 @@
     GtkTreeIter iter;
     GtkTreePath *path;
     gchar *path_str;
-    
+
     path_str = g_strdup_printf("%d", pos);
     path = gtk_tree_path_new_from_string(path_str);
     gtk_tree_model_get_iter(model, &iter, path);
@@ -64,7 +64,7 @@
 {
     GtkTreeModel *model;
     gint old_pos;
-    
+
     model = gtk_tree_view_get_model(GTK_TREE_VIEW(treeview));
     old_pos = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(treeview), "current"));
 
@@ -93,8 +93,6 @@
     gtk_tree_model_get(model, &iter, 0, &pos, -1);
 
     ui_playlist_widget_change_song(pos - 1);
-
-    ui_playlist_widget_set_current(GTK_WIDGET(treeview), pos);
 }
 
 static gboolean