Remove deprecation: gtk_misc_set_alignment -> gtk_widget_set_valign
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 9 Aug 2015 07:52:36 +0000 (09:52 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 9 Aug 2015 07:55:53 +0000 (09:55 +0200)
src/ui/gui/psppire-data-editor.c

index 9f014e6b9d6798f228751be0d45b4e1215554d50..9f88bb53d0b240aa2602c5b4d7af887f1b59da63 100644 (file)
@@ -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))),