summaryrefslogtreecommitdiff
path: root/src/math-window.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-11-21 13:02:46 +0100
committerWolfgang Ulbrich <[email protected]>2015-11-21 13:02:46 +0100
commit11faa5bb63005322d016aa0c76653985d0468b42 (patch)
tree2344d65988d43ef3b9903e11a081d879af6636d3 /src/math-window.c
parent48fe60d466a5aba0cca69b6ae7c386c4a473074c (diff)
downloadmate-calc-11faa5bb63005322d016aa0c76653985d0468b42.tar.bz2
mate-calc-11faa5bb63005322d016aa0c76653985d0468b42.tar.xz
Don't use deprecated gtk_{vh}box and GTK_TYPE_{VH}BOX
Diffstat (limited to 'src/math-window.c')
-rw-r--r--src/math-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math-window.c b/src/math-window.c
index 990246d..687e2ac 100644
--- a/src/math-window.c
+++ b/src/math-window.c
@@ -415,7 +415,7 @@ create_gui(MathWindow *window)
GtkWidget *main_vbox, *vbox;
GtkWidget *scrolled_window;
- main_vbox = gtk_vbox_new(FALSE, 0);
+ main_vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
gtk_container_add(GTK_CONTAINER(window), main_vbox);
gtk_widget_show(main_vbox);
@@ -425,7 +425,7 @@ create_gui(MathWindow *window)
create_menu(window);
- vbox = gtk_vbox_new(FALSE, 6);
+ vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6);
gtk_container_set_border_width(GTK_CONTAINER(vbox), 6);
gtk_box_pack_start(GTK_BOX(main_vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show(vbox);