Commit f3718ed6 authored by Ian Goldberg's avatar Ian Goldberg
Browse files

Remove redundant gtk_box_pack_start()s

We had some calls to gtk_box_pack_start() that were trying to pack
already-packed widgets, yielding:

Gtk: gtk_box_pack: assertion `child->parent == NULL' failed
parent 97de6edc
......@@ -543,8 +543,6 @@ static void add_to_vbox_init_one_way_auth(GtkWidget *vbox,
}
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
/* Leave a blank line */
gtk_box_pack_start(GTK_BOX(vbox), gtk_label_new(NULL), FALSE,
FALSE, 0);
......@@ -569,7 +567,6 @@ static void add_to_vbox_init_one_way_auth(GtkWidget *vbox,
gtk_entry_set_activates_default(GTK_ENTRY(entry), smppair->responder);
gtk_box_pack_start(GTK_BOX(vbox), entry, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
/* Leave a blank line */
gtk_box_pack_start(GTK_BOX(vbox), gtk_label_new(NULL), FALSE,
......@@ -627,7 +624,6 @@ static void add_to_vbox_init_two_way_auth(GtkWidget *vbox,
}
gtk_box_pack_start(GTK_BOX(vbox), entry, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
/* Leave a blank line */
gtk_box_pack_start(GTK_BOX(vbox), gtk_label_new(NULL), FALSE,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment