+2001-01-23 <alexl@redhat.com>
+
+ * gmain.c (g_source_callback_unref): Free the callback
+ (g_source_set_callback): Initialize the callback refcount
+
2001-01-20 Tor Lillqvist <tml@iki.fi>
* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+2001-01-23 <alexl@redhat.com>
+
+ * gmain.c (g_source_callback_unref): Free the callback
+ (g_source_set_callback): Initialize the callback refcount
+
2001-01-20 Tor Lillqvist <tml@iki.fi>
* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+2001-01-23 <alexl@redhat.com>
+
+ * gmain.c (g_source_callback_unref): Free the callback
+ (g_source_set_callback): Initialize the callback refcount
+
2001-01-20 Tor Lillqvist <tml@iki.fi>
* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+2001-01-23 <alexl@redhat.com>
+
+ * gmain.c (g_source_callback_unref): Free the callback
+ (g_source_set_callback): Initialize the callback refcount
+
2001-01-20 Tor Lillqvist <tml@iki.fi>
* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+2001-01-23 <alexl@redhat.com>
+
+ * gmain.c (g_source_callback_unref): Free the callback
+ (g_source_set_callback): Initialize the callback refcount
+
2001-01-20 Tor Lillqvist <tml@iki.fi>
* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+2001-01-23 <alexl@redhat.com>
+
+ * gmain.c (g_source_callback_unref): Free the callback
+ (g_source_set_callback): Initialize the callback refcount
+
2001-01-20 Tor Lillqvist <tml@iki.fi>
* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+2001-01-23 <alexl@redhat.com>
+
+ * gmain.c (g_source_callback_unref): Free the callback
+ (g_source_set_callback): Initialize the callback refcount
+
2001-01-20 Tor Lillqvist <tml@iki.fi>
* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
+2001-01-23 <alexl@redhat.com>
+
+ * gmain.c (g_source_callback_unref): Free the callback
+ (g_source_set_callback): Initialize the callback refcount
+
2001-01-20 Tor Lillqvist <tml@iki.fi>
* gutils.c (g_get_codeset): (Win32) Even if g_get_codeset() is
{
if (callback->notify)
callback->notify (callback->data);
+ g_free (callback);
}
}
g_return_if_fail (source != NULL);
new_callback = g_new (GSourceCallback, 1);
-
+
+ new_callback->ref_count = 1;
new_callback->func = func;
new_callback->data = data;
new_callback->notify = notify;
{
if (callback->notify)
callback->notify (callback->data);
+ g_free (callback);
}
}
g_return_if_fail (source != NULL);
new_callback = g_new (GSourceCallback, 1);
-
+
+ new_callback->ref_count = 1;
new_callback->func = func;
new_callback->data = data;
new_callback->notify = notify;