aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-06-04 15:31:09 +0200
committerThomas White <taw@physics.org>2019-06-04 15:31:09 +0200
commit0c0288485f8785fe99e50f6708e0d668353dd3a7 (patch)
treee50050c5602459c7ef0bf6362ca9ba88fa0a922f /src
parent69bd3f54c651980d39e2d38694f2032aaca44d16 (diff)
cell_explorer: Remove GTK3-isms
Diffstat (limited to 'src')
-rw-r--r--src/cell_explorer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c
index e2875399..d9b3a919 100644
--- a/src/cell_explorer.c
+++ b/src/cell_explorer.c
@@ -1549,8 +1549,8 @@ static gint savecell_sig(GtkWidget *widget, CellWindow *w)
gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(d),
TRUE);
- vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8);
- hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8);
+ vbox = gtk_vbox_new(FALSE, 8);
+ hbox = gtk_hbox_new(FALSE, 8);
gtk_box_pack_start(GTK_BOX(vbox), GTK_WIDGET(hbox), FALSE, FALSE, 0);
label = gtk_label_new("Enforce lattice type:");
gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(label), FALSE, FALSE, 0);