# HG changeset patch # User Tomasz Mon # Date 1216479465 -7200 # Node ID 4d15507f568c6b69d05ee5a5ac4c55a7f0c225fc # Parent 117bae4c27979f155ba27f99fa5b5310132fa2f6 remove reduntant call diff -r 117bae4c2797 -r 4d15507f568c src/audacious/ui_playlist_widget.c --- 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