}
static void
-content_finalize(CamelObject *folder, gpointer crap, gpointer ba)
+content_weak_notify (GByteArray *ba,
+ GObject *where_the_object_was)
{
- g_byte_array_free(ba, TRUE);
+ g_byte_array_free (ba, TRUE);
}
void
content = (CamelStreamMem *)camel_stream_mem_new();
camel_stream_mem_set_byte_array(content, ba);
- camel_object_hook_event((CamelObject *)content, "finalize", content_finalize, ba);
+ g_object_weak_ref (
+ G_OBJECT (content), (GWeakNotify)
+ content_weak_notify, ba);
break;
}
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_builddir)/camel \
- $(GLIB_CFLAGS)
+ $(CAMEL_CFLAGS)
GTKDOC_LIBS = \
$(top_builddir)/camel/libcamel-1.2.la \
$(top_builddir)/camel/libcamel-provider-1.2.la \
- $(GLIB_LIBS)
+ $(CAMEL_LIBS)
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
content_files = \