summaryrefslogtreecommitdiff
path: root/plugins/gtkui/mainplaylist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-13 21:38:12 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-13 21:38:12 +0200
commitc70bec8a21dfbb5dd81769ef4be2e705eb34735c (patch)
treef87515cfcfb4df4146c5e38320e971bcb6eae2f0 /plugins/gtkui/mainplaylist.c
parentb8158df3229ca89fd984538c90e784629b293758 (diff)
port to gtk3
Diffstat (limited to 'plugins/gtkui/mainplaylist.c')
-rw-r--r--plugins/gtkui/mainplaylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c
index 8247106b..2ef09cf8 100644
--- a/plugins/gtkui/mainplaylist.c
+++ b/plugins/gtkui/mainplaylist.c
@@ -323,7 +323,7 @@ main_playlist_free (void) {
void
main_refresh (void) {
- if (mainwin && GTK_WIDGET_VISIBLE (mainwin)) {
+ if (mainwin && gtk_widget_get_visible (mainwin)) {
DdbListview *pl = DDB_LISTVIEW (lookup_widget (mainwin, "playlist"));
ddb_listview_refresh (pl, DDB_REFRESH_VSCROLL | DDB_REFRESH_LIST | DDB_EXPOSE_LIST);
}