forked from AuroraMiddleware/gtk
testadjustsize: Keep using an alignment
We are explicitly comparing GtkAlignment with its replacements here.
This commit is contained in:
parent
e74bb3db2a
commit
1af417a82d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user