From 0c0288485f8785fe99e50f6708e0d668353dd3a7 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 4 Jun 2019 15:31:09 +0200 Subject: cell_explorer: Remove GTK3-isms --- src/cell_explorer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3