changeset 2989:323138ecc070

skins interface: fix crash
author William Pitcock <nenolod@atheme.org>
date Wed, 07 Jan 2009 20:25:14 -0600
parents 059285b5de7c
children be86c72a06c9
files src/skins/ui_playlist.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/ui_playlist.c	Fri Dec 05 07:11:37 2008 -0600
+++ b/src/skins/ui_playlist.c	Wed Jan 07 20:25:14 2009 -0600
@@ -1575,16 +1575,16 @@
 void
 playlistwin_show(void)
 {
-    gtk_window_move(GTK_WINDOW(playlistwin), config.playlist_x, config.playlist_y);
     GtkAction *action = gtk_action_group_get_action(
       toggleaction_group_others , "show playlist editor" );
+
+    gtk_window_move(GTK_WINDOW(playlistwin), config.playlist_x, config.playlist_y);
     gtk_toggle_action_set_active( GTK_TOGGLE_ACTION(action) , TRUE );
 
     config.playlist_visible = TRUE;
     ui_skinned_button_set_inside(mainwin_pl, TRUE);
 
     playlistwin_set_toprow(0);
-    aud_playlist_check_pos_current(aud_playlist_get_active());
 
     gtk_widget_show_all(playlistwin);
     if (!config.playlist_shaded)