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:
Maxin B. John 2016-08-05 17:52:18 +03:00 committed by Sebastian Dröge
parent f8d4796a57
commit e82333ab70

View file

@ -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