From 52b0e7bc7011176e82e04183de463adfde604378 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 7 May 2010 15:22:08 -0400 Subject: [everything] Remove test_callback_infinite The 'infinite' value for callback scope was removed, so the test case for it needs to be removed as well. https://bugzilla.gnome.org/show_bug.cgi?id=618041 --- gir/Everything-1.0-expected.gir | 18 ------------------ gir/everything.c | 18 ------------------ gir/everything.h | 3 --- 3 files changed, 39 deletions(-) diff --git a/gir/Everything-1.0-expected.gir b/gir/Everything-1.0-expected.gir index 4a9f3ba5..168c8b24 100644 --- a/gir/Everything-1.0-expected.gir +++ b/gir/Everything-1.0-expected.gir @@ -980,24 +980,6 @@ is invoked."> - - - - - - - - - - - - - diff --git a/gir/everything.c b/gir/everything.c index 1ac73f6a..cee6a2bf 100644 --- a/gir/everything.c +++ b/gir/everything.c @@ -1978,24 +1978,6 @@ test_callback_thaw_async (void) return retval; } -/** - * test_callback_infinite: - * @callback: (scope infinite): - * - * Infinite - callback persists forever. - **/ - -static GSList *infinite_callbacks = NULL; - -int -test_callback_infinite (TestCallbackUserData callback, - gpointer user_data) -{ - infinite_callbacks = g_slist_prepend(infinite_callbacks, callback); - - return callback(user_data); -} - void test_async_ready_callback (GAsyncReadyCallback callback) { diff --git a/gir/everything.h b/gir/everything.h index 8afe8fa2..395d1427 100644 --- a/gir/everything.h +++ b/gir/everything.h @@ -347,9 +347,6 @@ int test_callback_thaw_notifications (void); void test_callback_async (TestCallbackUserData callback, gpointer user_data); int test_callback_thaw_async (void); -int test_callback_infinite (TestCallbackUserData callback, - gpointer user_data); - void test_async_ready_callback (GAsyncReadyCallback callback); void test_obj_instance_method_callback (TestObj *obj, TestCallback callback); -- cgit v1.2.1