use G_CALLBACK for signal connections.
authorManish Singh <yosh@gimp.org>
Wed, 20 Jul 2005 20:46:58 +0000 (20:46 +0000)
committerManish Singh <yosh@src.gnome.org>
Wed, 20 Jul 2005 20:46:58 +0000 (20:46 +0000)
2005-07-20  Manish Singh  <yosh@gimp.org>

        * tests/refcount/signals.c: use G_CALLBACK for signal connections.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
tests/refcount/signals.c

index 0bb4629..c5fd82a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-20  Manish Singh  <yosh@gimp.org>
+
+       * tests/refcount/signals.c: use G_CALLBACK for signal connections.
+
 2005-07-20  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gthreadpool.c (g_thread_pool_free): Don't get
index 0bb4629..c5fd82a 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-20  Manish Singh  <yosh@gimp.org>
+
+       * tests/refcount/signals.c: use G_CALLBACK for signal connections.
+
 2005-07-20  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gthreadpool.c (g_thread_pool_free): Don't get
index 0bb4629..c5fd82a 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-20  Manish Singh  <yosh@gimp.org>
+
+       * tests/refcount/signals.c: use G_CALLBACK for signal connections.
+
 2005-07-20  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gthreadpool.c (g_thread_pool_free): Don't get
index 0bb4629..c5fd82a 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-20  Manish Singh  <yosh@gimp.org>
+
+       * tests/refcount/signals.c: use G_CALLBACK for signal connections.
+
 2005-07-20  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gthreadpool.c (g_thread_pool_free): Don't get
index a0ed09a..66b516a 100644 (file)
@@ -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 *));