From 6394b31435669c78dd523dfb8923bae5f9669ea2 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Wed, 20 Jul 2005 20:46:58 +0000 Subject: [PATCH] use G_CALLBACK for signal connections. 2005-07-20 Manish Singh * tests/refcount/signals.c: use G_CALLBACK for signal connections. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-12 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ tests/refcount/signals.c | 6 +++--- 5 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0bb46297d..c5fd82aad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-07-20 Manish Singh + + * tests/refcount/signals.c: use G_CALLBACK for signal connections. + 2005-07-20 Matthias Clasen * glib/gthreadpool.c (g_thread_pool_free): Don't get diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 0bb46297d..c5fd82aad 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2005-07-20 Manish Singh + + * tests/refcount/signals.c: use G_CALLBACK for signal connections. + 2005-07-20 Matthias Clasen * glib/gthreadpool.c (g_thread_pool_free): Don't get diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 0bb46297d..c5fd82aad 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,7 @@ +2005-07-20 Manish Singh + + * tests/refcount/signals.c: use G_CALLBACK for signal connections. + 2005-07-20 Matthias Clasen * glib/gthreadpool.c (g_thread_pool_free): Don't get diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 0bb46297d..c5fd82aad 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2005-07-20 Manish Singh + + * tests/refcount/signals.c: use G_CALLBACK for signal connections. + 2005-07-20 Matthias Clasen * glib/gthreadpool.c (g_thread_pool_free): Don't get diff --git a/tests/refcount/signals.c b/tests/refcount/signals.c index a0ed09acf..66b516a69 100644 --- a/tests/refcount/signals.c +++ b/tests/refcount/signals.c @@ -244,9 +244,9 @@ main (int argc, char **argv) test1 = g_object_new (G_TYPE_TEST, NULL); test2 = g_object_new (G_TYPE_TEST, NULL); - g_signal_connect (test1, "notify::test-prop", notify, NULL); - g_signal_connect (test1, "test-signal1", notify, NULL); - g_signal_connect (test1, "test-signal2", notify, NULL); + g_signal_connect (test1, "notify::test-prop", G_CALLBACK (notify), NULL); + g_signal_connect (test1, "test-signal1", G_CALLBACK (notify), NULL); + g_signal_connect (test1, "test-signal2", G_CALLBACK (notify), NULL); test_threads = g_array_new (FALSE, FALSE, sizeof (GThread *));