Skip to content
Snippets Groups Projects
Commit 0175f799 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9871: accountconfigdialog: get rid of GTK errors

parent b1fb764c
No related branches found
No related tags found
No related merge requests found
......@@ -596,6 +596,10 @@ static void set_published_addr_manually_cb(GtkWidget * widget, gpointer data UNU
static void use_stun_cb(GtkWidget *widget, gpointer data UNUSED)
{
/* Widgets have not been created yet */
if (!stun_server_label)
return;
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))) {
DEBUG("Config: Showing stun options, hiding Local/Published info");
gtk_widget_show(stun_server_label);
......@@ -621,8 +625,6 @@ static void use_stun_cb(GtkWidget *widget, gpointer data UNUSED)
gtk_widget_show(published_port_spin_box);
}
}
DEBUG("DONE");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment