summaryrefslogtreecommitdiff
path: root/src/math-converter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math-converter.c')
-rw-r--r--src/math-converter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/math-converter.c b/src/math-converter.c
index 2f543fe..f72e9c1 100644
--- a/src/math-converter.c
+++ b/src/math-converter.c
@@ -391,7 +391,11 @@ math_converter_init(MathConverter *converter)
gtk_box_set_spacing(GTK_BOX(converter), 6);
+#if GTK_CHECK_VERSION (3, 2, 0)
+ hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
+#else
hbox = gtk_hbox_new(FALSE, 0);
+#endif
gtk_widget_show(hbox);
gtk_box_pack_start(GTK_BOX(converter), hbox, FALSE, TRUE, 0);