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 0bb46297d8e677e08ef30a18efa4d805f66fb732..c5fd82aad76785c03a70532cc676db85036d73ff 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 0bb46297d8e677e08ef30a18efa4d805f66fb732..c5fd82aad76785c03a70532cc676db85036d73ff 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 0bb46297d8e677e08ef30a18efa4d805f66fb732..c5fd82aad76785c03a70532cc676db85036d73ff 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 0bb46297d8e677e08ef30a18efa4d805f66fb732..c5fd82aad76785c03a70532cc676db85036d73ff 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 a0ed09acf6b30a9fd56f826306d8b94d9737ccef..66b516a6904df6be6f3802c82545cc64aa94c7ae 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 *));