diff options
author | Steve Zesch <[email protected]> | 2012-11-24 20:47:50 -0500 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-11-24 20:47:50 -0500 |
commit | 3e4dfc47e7803d16d14ffe655f9568871c4f2339 (patch) | |
tree | dd7b9139791c854ce92ab5b2334e0894dded34b1 /src/math-variable-popup.c | |
parent | 6b24c91d3aa81fdb99500c8c2c12f830fabaefb6 (diff) | |
download | mate-calc-3e4dfc47e7803d16d14ffe655f9568871c4f2339.tar.bz2 mate-calc-3e4dfc47e7803d16d14ffe655f9568871c4f2339.tar.xz |
GTK2 support. Menu fix. Code cleanups.
Diffstat (limited to 'src/math-variable-popup.c')
-rw-r--r-- | src/math-variable-popup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/math-variable-popup.c b/src/math-variable-popup.c index d033571..1287f7a 100644 --- a/src/math-variable-popup.c +++ b/src/math-variable-popup.c @@ -131,7 +131,7 @@ make_variable_entry(MathVariablePopup *popup, const gchar *name, const MPNumber GtkWidget *hbox, *button, *label; gchar *text; - hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); + hbox = gtk_hbox_new(FALSE, 6); if (value) { @@ -211,7 +211,7 @@ math_variable_popup_set_property(GObject *object, } g_strfreev(names); - entry = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); + entry = gtk_hbox_new(FALSE, 6); gtk_widget_show(entry); // TODO: Show greyed "variable name" text to give user a hint how to use @@ -301,7 +301,7 @@ math_variable_popup_init(MathVariablePopup *popup) /* Destroy this window when it loses focus */ g_signal_connect(G_OBJECT(popup), "focus-out-event", G_CALLBACK(variable_focus_out_event_cb), popup); - popup->priv->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6); + popup->priv->vbox = gtk_vbox_new(FALSE, 6); gtk_box_set_homogeneous(GTK_BOX(popup->priv->vbox), TRUE); gtk_container_add(GTK_CONTAINER(popup), popup->priv->vbox); gtk_widget_show(popup->priv->vbox); |