- gtk_box_pack_start ( GTK_BOX(GTK_DIALOG(dialog)->vbox), num_label, FALSE, FALSE, 5 );
- gtk_box_pack_start ( GTK_BOX(GTK_DIALOG(dialog)->vbox), widgets->num_spin, FALSE, FALSE, 5 );
- gtk_box_pack_start ( GTK_BOX(GTK_DIALOG(dialog)->vbox), center_label, FALSE, FALSE, 5 );
- gtk_box_pack_start ( GTK_BOX(GTK_DIALOG(dialog)->vbox), widgets->center_entry, FALSE, FALSE, 5 );
- gtk_box_pack_start ( GTK_BOX(GTK_DIALOG(dialog)->vbox), miles_radius_label, FALSE, FALSE, 5 );
- gtk_box_pack_start ( GTK_BOX(GTK_DIALOG(dialog)->vbox), widgets->miles_radius_spin, FALSE, FALSE, 5 );
+ /* Packing all these widgets */
+ GtkBox *box = GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog)));
+ gtk_box_pack_start ( box, num_label, FALSE, FALSE, 5 );
+ gtk_box_pack_start ( box, widgets->num_spin, FALSE, FALSE, 5 );
+ gtk_box_pack_start ( box, center_label, FALSE, FALSE, 5 );
+ gtk_box_pack_start ( box, widgets->center_entry, FALSE, FALSE, 5 );
+ gtk_box_pack_start ( box, miles_radius_label, FALSE, FALSE, 5 );
+ gtk_box_pack_start ( box, widgets->miles_radius_spin, FALSE, FALSE, 5 );