diff --git a/gio/tests/gdbus-test-codegen.c b/gio/tests/gdbus-test-codegen.c index cd8424118..22628c078 100644 --- a/gio/tests/gdbus-test-codegen.c +++ b/gio/tests/gdbus-test-codegen.c @@ -23,8 +23,6 @@ #include #include -#include "glib/glib-private.h" - #include "gdbus-tests.h" #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_64 @@ -1304,18 +1302,6 @@ static gpointer check_proxies_in_thread (gpointer user_data) { GMainLoop *loop = user_data; -#ifdef _GLIB_ADDRESS_SANITIZER - - /* Silence "Not available before 2.38" when using old API */ - G_GNUC_BEGIN_IGNORE_DEPRECATIONS - g_test_incomplete ("FIXME: Leaks a GWeakRef, see glib#2312"); - G_GNUC_END_IGNORE_DEPRECATIONS - - (void) check_thread_proxies; - (void) check_authorize_proxy; - (void) check_bat_proxy; - (void) check_bar_proxy; -#else GMainContext *thread_context; GMainLoop *thread_loop; GError *error; @@ -1390,7 +1376,6 @@ check_proxies_in_thread (gpointer user_data) g_main_loop_unref (thread_loop); g_main_context_unref (thread_context); -#endif /* this breaks out of the loop in main() (below) */ g_main_loop_quit (loop);