summaryrefslogtreecommitdiff
path: root/src/math-display.c
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-24 20:47:50 -0500
committerSteve Zesch <[email protected]>2012-11-24 20:47:50 -0500
commit3e4dfc47e7803d16d14ffe655f9568871c4f2339 (patch)
treedd7b9139791c854ce92ab5b2334e0894dded34b1 /src/math-display.c
parent6b24c91d3aa81fdb99500c8c2c12f830fabaefb6 (diff)
downloadmate-calc-3e4dfc47e7803d16d14ffe655f9568871c4f2339.tar.bz2
mate-calc-3e4dfc47e7803d16d14ffe655f9568871c4f2339.tar.xz
GTK2 support. Menu fix. Code cleanups.
Diffstat (limited to 'src/math-display.c')
-rw-r--r--src/math-display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math-display.c b/src/math-display.c
index 6718665..fb5af8b 100644
--- a/src/math-display.c
+++ b/src/math-display.c
@@ -326,7 +326,7 @@ create_gui(MathDisplay *display)
int i;
GtkStyle *style;
- main_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
+ main_box = gtk_vbox_new(FALSE, 0);
gtk_container_add(GTK_CONTAINER(display), main_box);
g_signal_connect(display, "key-press-event", G_CALLBACK(key_press_cb), display);
@@ -350,7 +350,7 @@ create_gui(MathDisplay *display)
g_signal_connect(display->priv->text_view, "key-press-event", G_CALLBACK(display_key_press_cb), display);
gtk_box_pack_start(GTK_BOX(main_box), display->priv->text_view, TRUE, TRUE, 0);
- info_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6);
+ info_box = gtk_hbox_new(FALSE, 6);
gtk_box_pack_start(GTK_BOX(main_box), info_box, FALSE, TRUE, 0);
info_view = gtk_text_view_new();