diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/math-converter.c | 2 | ||||
-rw-r--r-- | src/math-variable-popup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/math-converter.c b/src/math-converter.c index 7badc5e..02eba4b 100644 --- a/src/math-converter.c +++ b/src/math-converter.c @@ -433,7 +433,7 @@ math_converter_init(MathConverter *converter) gtk_box_pack_start(GTK_BOX(hbox), swap_button, FALSE, TRUE, 0); converter->priv->result_label = gtk_label_new(""); - gtk_misc_set_alignment(GTK_MISC(converter->priv->result_label), 1.0, 0.5); + gtk_widget_set_halign (converter->priv->result_label, GTK_ALIGN_END); gtk_widget_set_sensitive(converter->priv->result_label, FALSE); gtk_widget_show(converter->priv->result_label); gtk_box_pack_start(GTK_BOX(converter), converter->priv->result_label, TRUE, TRUE, 0); diff --git a/src/math-variable-popup.c b/src/math-variable-popup.c index d033571..afd62bd 100644 --- a/src/math-variable-popup.c +++ b/src/math-variable-popup.c @@ -152,7 +152,7 @@ make_variable_entry(MathVariablePopup *popup, const gchar *name, const MPNumber label = gtk_label_new(text); g_free(text); gtk_label_set_use_markup(GTK_LABEL(label), TRUE); - gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); + gtk_widget_set_halign (label, GTK_ALIGN_START); gtk_container_add(GTK_CONTAINER(button), label); gtk_widget_show(label); |