Mercurial > audlegacy
comparison src/audacious/ui_main.c @ 2906:68f3b7ff4333 trunk
Remove pposition_broken global variable.
It was never manipulated which means only one codepath was exectued.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Thu, 28 Jun 2007 01:41:03 -0500 |
parents | bec320cfcc12 |
children | 21b27e97bfb9 |
comparison
equal
deleted
inserted
replaced
2905:084d367e3577 | 2906:68f3b7ff4333 |
---|---|
1971 | 1971 |
1972 mainwin_vis_set_active_vis(MAINWIN_VIS_ACTIVE_MAINWIN); | 1972 mainwin_vis_set_active_vis(MAINWIN_VIS_ACTIVE_MAINWIN); |
1973 mainwin_set_shape_mask(); | 1973 mainwin_set_shape_mask(); |
1974 | 1974 |
1975 if (cfg.show_wm_decorations) { | 1975 if (cfg.show_wm_decorations) { |
1976 if (!pposition_broken && cfg.player_x != -1 | 1976 if (cfg.player_x != -1 && cfg.save_window_position) |
1977 && cfg.save_window_position) | |
1978 gtk_window_move(GTK_WINDOW(mainwin), cfg.player_x, cfg.player_y); | 1977 gtk_window_move(GTK_WINDOW(mainwin), cfg.player_x, cfg.player_y); |
1979 | 1978 |
1980 gtk_widget_show(mainwin); | 1979 gtk_widget_show(mainwin); |
1981 | |
1982 if (pposition_broken && cfg.player_x != -1 | |
1983 && cfg.save_window_position) | |
1984 gtk_window_move(GTK_WINDOW(mainwin), cfg.player_x, cfg.player_y); | |
1985 | |
1986 return; | 1980 return; |
1987 } | 1981 } |
1988 | 1982 |
1989 gtk_widget_show_all(mainwin); | 1983 gtk_widget_show_all(mainwin); |
1990 | 1984 |