From 113c803357d17aed049a236f8691d6447e2f8217 Mon Sep 17 00:00:00 2001 From: daleclack Date: Wed, 8 May 2024 07:52:00 +0800 Subject: [PATCH] Fix issue for sounds list --- Gtk4/gtk154_mediaplayer3/src/MyMediaPlayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gtk4/gtk154_mediaplayer3/src/MyMediaPlayer.cpp b/Gtk4/gtk154_mediaplayer3/src/MyMediaPlayer.cpp index d7345b3..2fc1935 100644 --- a/Gtk4/gtk154_mediaplayer3/src/MyMediaPlayer.cpp +++ b/Gtk4/gtk154_mediaplayer3/src/MyMediaPlayer.cpp @@ -690,8 +690,8 @@ static void my_media_player_init(MyMediaPlayer *self) gtk_widget_set_halign(self->ctrl_box, GTK_ALIGN_CENTER); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(self->scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); - gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(self->scrolled_window), - GTK_POLICY_AUTOMATIC, GTK_POLICY_NEVER); + // gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(self->scrolled_window), + // GTK_POLICY_AUTOMATIC, GTK_POLICY_NEVER); gtk_label_set_markup(GTK_LABEL(self->label_lyrics), "No media file playing!"); gtk_video_set_autoplay(GTK_VIDEO(self->video), FALSE);