From 233061e8396ed74261cfc40cd3eca8ff63197f40 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Wed, 12 Feb 2014 19:42:41 +0100 Subject: [PATCH] remote provisioning sounds working good in GTK app --- gtk/config-fetching.c | 1 + tester/remote_provisioning_tester.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/config-fetching.c b/gtk/config-fetching.c index cec611814..7d6be5d07 100644 --- a/gtk/config-fetching.c +++ b/gtk/config-fetching.c @@ -72,6 +72,7 @@ void linphone_gtk_close_config_fetching(GtkWidget *w, LinphoneConfiguringState s if (state==LinphoneConfiguringFailed){ GtkWidget *msg=gtk_message_dialog_new(NULL,0,GTK_MESSAGE_ERROR,GTK_BUTTONS_CLOSE,_("Downloading of remote configuration from %s failed."), linphone_core_get_provisioning_uri(lc)); + g_signal_connect(G_OBJECT(msg),"response",(GCallback)gtk_widget_destroy,NULL); gtk_widget_show(msg); } } diff --git a/tester/remote_provisioning_tester.c b/tester/remote_provisioning_tester.c index 7d73418bf..770e2a97d 100644 --- a/tester/remote_provisioning_tester.c +++ b/tester/remote_provisioning_tester.c @@ -77,4 +77,4 @@ test_suite_t remote_provisioning_test_suite = { NULL, sizeof(remote_provisioning_tests) / sizeof(remote_provisioning_tests[0]), remote_provisioning_tests -}; \ No newline at end of file +};