mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
playback/player: gtk-play: provide similar behaviour for quit and close
In x86 targets, gtk-play just pause rather than quitting the application when we click the close button (delete-event). Change the callback function to get similar behaviour when we click on "Quit" menu option.
This commit is contained in:
parent
f8d4796a57
commit
e82333ab70
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ load_from_builder (const gchar * filename, gboolean register_sig_handler,
|
|||
static void
|
||||
delete_event_cb (GtkWidget * widget, GdkEvent * event, GtkPlay * play)
|
||||
{
|
||||
gst_player_stop (play->player);
|
||||
gtk_widget_destroy (GTK_WIDGET (play));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue