summaryrefslogtreecommitdiff
path: root/src/math-converter.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-11-21 13:51:36 +0100
committerWolfgang Ulbrich <[email protected]>2015-11-21 13:51:36 +0100
commit3878dcabfed92bdf64f96ed4b61ce9686d791dbd (patch)
treecf2ec94096f719eef2ccce20d875d5dc17658507 /src/math-converter.c
parent11faa5bb63005322d016aa0c76653985d0468b42 (diff)
downloadmate-calc-3878dcabfed92bdf64f96ed4b61ce9686d791dbd.tar.bz2
mate-calc-3878dcabfed92bdf64f96ed4b61ce9686d791dbd.tar.xz
replace deprecated GtkMisc
Diffstat (limited to 'src/math-converter.c')
-rw-r--r--src/math-converter.c2
1 files changed, 1 insertions, 1 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);