From d921a4fe84eb81d2ef8014fa21bc8f7c8cf2a6fd Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 28 May 2015 16:53:53 +0200 Subject: [PATCH] testsuite: Add deprecation guards --- testsuite/gtk/adjustment.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/gtk/adjustment.c b/testsuite/gtk/adjustment.c index 20e45cbaa5..9ce94d6cd7 100644 --- a/testsuite/gtk/adjustment.c +++ b/testsuite/gtk/adjustment.c @@ -75,6 +75,7 @@ test_signals (void) g_signal_connect (a, "changed", G_CALLBACK (changed_cb), NULL); g_signal_connect (a, "value-changed", G_CALLBACK (value_changed_cb), NULL); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS changed_count = value_changed_count = 0; gtk_adjustment_changed (a); g_assert_cmpint (changed_count, ==, 1); @@ -84,6 +85,7 @@ test_signals (void) gtk_adjustment_value_changed (a); g_assert_cmpint (changed_count, ==, 0); g_assert_cmpint (value_changed_count, ==, 1); +G_GNUC_END_IGNORE_DEPRECATIONS changed_count = value_changed_count = 0; gtk_adjustment_configure (a, 0.0, 0.0, 100.0, 1.0, 5.0, 0.0);