Don't use depeprecated api

GtkPrintUnixDialog and testtitlebar were still using
gtk_widget_set_margin_left/right. Switch them over to
gtk_widget_set_margin_start/end.
This commit is contained in:
Matthias Clasen
2013-12-01 16:54:20 -05:00
parent b53b5578f3
commit 56719c6363
2 changed files with 3 additions and 3 deletions

View File

@ -1260,7 +1260,7 @@ wrap_in_frame (const gchar *label,
frame = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (frame), label_widget, FALSE, FALSE, 0);
gtk_widget_set_margin_left (child, 12);
gtk_widget_set_margin_start (child, 12);
gtk_widget_set_halign (child, GTK_ALIGN_FILL);
gtk_widget_set_valign (child, GTK_ALIGN_FILL);