summaryrefslogtreecommitdiff
path: root/tests/testadjustsize.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-23 20:42:01 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-23 20:42:01 -0400
commit1af417a82d9df10c58921569c428112457ae7ad6 (patch)
tree3a4b928937cae027f204504171d90ba4eb57fb1e /tests/testadjustsize.c
parente74bb3db2a5600d2150a68f2260afcbaf2095e59 (diff)
downloadgtk+-1af417a82d9df10c58921569c428112457ae7ad6.tar.gz
testadjustsize: Keep using an alignment
We are explicitly comparing GtkAlignment with its replacements here.
Diffstat (limited to 'tests/testadjustsize.c')
-rw-r--r--tests/testadjustsize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testadjustsize.c b/tests/testadjustsize.c
index 8b724410ad..cf0040d4e8 100644
--- a/tests/testadjustsize.c
+++ b/tests/testadjustsize.c
@@ -80,7 +80,9 @@ create_alignment (void)
{
GtkWidget *alignment;
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
alignment = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
+G_GNUC_END_IGNORE_DEPRECATIONS
/* make the alignment visible */
gtk_widget_set_redraw_on_allocate (alignment, TRUE);