testadjustsize: Keep using an alignment

We are explicitly comparing GtkAlignment with its replacements
here.
This commit is contained in:
Matthias Clasen 2014-05-23 20:42:01 -04:00
parent e74bb3db2a
commit 1af417a82d

View File

@ -80,7 +80,9 @@ create_alignment (void)
{ {
GtkWidget *alignment; GtkWidget *alignment;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
alignment = gtk_alignment_new (0.5, 0.5, 1.0, 1.0); alignment = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
G_GNUC_END_IGNORE_DEPRECATIONS
/* make the alignment visible */ /* make the alignment visible */
gtk_widget_set_redraw_on_allocate (alignment, TRUE); gtk_widget_set_redraw_on_allocate (alignment, TRUE);