mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-22 15:38:33 +00:00
parent
a98c9df520
commit
ac2cbd71af
1 changed files with 8 additions and 1 deletions
|
|
@ -466,10 +466,17 @@ static void prepare(GtkAssistant *w){
|
||||||
}
|
}
|
||||||
|
|
||||||
void linphone_gtk_close_audio_assistant(GtkWidget *w){
|
void linphone_gtk_close_audio_assistant(GtkWidget *w){
|
||||||
gchar *path = g_object_get_data(G_OBJECT(audio_assistant),"path");
|
gchar *path;
|
||||||
|
AudioStream *stream;
|
||||||
|
|
||||||
|
path = g_object_get_data(G_OBJECT(audio_assistant),"path");
|
||||||
if(path != NULL){
|
if(path != NULL){
|
||||||
g_unlink(path);
|
g_unlink(path);
|
||||||
}
|
}
|
||||||
|
stream = (AudioStream *)g_object_get_data(G_OBJECT(audio_assistant), "stream");
|
||||||
|
if(stream) {
|
||||||
|
audio_stream_stop(stream);
|
||||||
|
}
|
||||||
gtk_widget_destroy(w);
|
gtk_widget_destroy(w);
|
||||||
if(linphone_gtk_get_audio_assistant_option()){
|
if(linphone_gtk_get_audio_assistant_option()){
|
||||||
gtk_main_quit();
|
gtk_main_quit();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue