Mercurial > audlegacy
diff src/audacious/ui_playlist.c @ 3490:602ec8c40d0d trunk
Fixed to comply with the Tuple API changes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 01 Sep 2007 07:09:38 +0300 |
parents | 6e4944657ab9 |
children | 6f8005df972f |
line wrap: on
line diff
--- a/src/audacious/ui_playlist.c Sat Sep 01 07:08:21 2007 +0300 +++ b/src/audacious/ui_playlist.c Sat Sep 01 07:09:38 2007 +0300 @@ -573,13 +573,13 @@ Tuple *tuple = tuple_new(); gchar *searchdata = NULL; searchdata = (gchar*)gtk_entry_get_text( GTK_ENTRY(searchdlg_entry_title) ); - tuple_associate_string(tuple, "title", searchdata); + tuple_associate_string(tuple, FIELD_TITLE, NULL, searchdata); searchdata = (gchar*)gtk_entry_get_text( GTK_ENTRY(searchdlg_entry_album) ); - tuple_associate_string(tuple, "album", searchdata); + tuple_associate_string(tuple, FIELD_ALBUM, NULL, searchdata); searchdata = (gchar*)gtk_entry_get_text( GTK_ENTRY(searchdlg_entry_performer) ); - tuple_associate_string(tuple, "artist", searchdata); + tuple_associate_string(tuple, FIELD_ARTIST, NULL, searchdata); searchdata = (gchar*)gtk_entry_get_text( GTK_ENTRY(searchdlg_entry_file_name) ); - tuple_associate_string(tuple, "file-name", searchdata); + tuple_associate_string(tuple, FIELD_FILE_NAME, NULL, searchdata); /* check if previous selection should be cleared before searching */ if ( gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(searchdlg_checkbt_clearprevsel)) == TRUE ) playlistwin_select_none();