From: John Darrington Date: Sun, 9 Aug 2015 07:52:36 +0000 (+0200) Subject: Remove deprecation: gtk_misc_set_alignment -> gtk_widget_set_valign X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a84f953e3d86a2d84eb60389e7db2632c6638f80;p=pspp Remove deprecation: gtk_misc_set_alignment -> gtk_widget_set_valign --- diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index 9f014e6b9d..9f88bb53d0 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -711,7 +711,7 @@ psppire_data_editor_init (PsppireDataEditor *de) de->cell_ref_label = gtk_label_new (""); gtk_label_set_width_chars (GTK_LABEL (de->cell_ref_label), 25); - gtk_misc_set_alignment (GTK_MISC (de->cell_ref_label), 0.0, 0.5); + gtk_widget_set_valign (de->cell_ref_label, GTK_ALIGN_CENTER); de->datum_entry = psppire_value_entry_new (); g_signal_connect (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (de->datum_entry))),