From 9bcf89cd70946be7c724cbeac9cd1c028f74ea6e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 8 Aug 2011 23:16:07 +0200 Subject: [PATCH] Document libffi as new dependency --- INSTALL.in | 1 + README.in | 8 ++++++++ gobject/gsignal.c | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/INSTALL.in b/INSTALL.in index 617eb92..d8134ff 100644 --- a/INSTALL.in +++ b/INSTALL.in @@ -68,6 +68,7 @@ Some of the mimetype-related functionality in GIO requires the update-mime-database and update-desktop-database utilities, which are part of shared-mime-info and desktop-file-utils, respectively. +GObject uses libffi to implement generic marshalling functionality. The Nitty-Gritty ================ diff --git a/README.in b/README.in index c0f6a8a..6ac99d8 100644 --- a/README.in +++ b/README.in @@ -24,6 +24,14 @@ Installation See the file 'INSTALL' +Notes about GLib 2.30 +===================== + +* GObject includes a generic marshaller, g_cclosure_marshal_generic. + To use it, simply specify NULL as the marshaller in g_signal_new(). + The generic marshaller is implemented with libffi, and consequently + GObject depends on libffi now. + Notes about GLib 2.28 ===================== diff --git a/gobject/gsignal.c b/gobject/gsignal.c index 59b9c9e..4d96087 100644 --- a/gobject/gsignal.c +++ b/gobject/gsignal.c @@ -1310,7 +1310,7 @@ g_signal_query (guint signal_id, * super_class->signal_handler = my_signal_handler. Instead they * will have to use g_signal_override_class_handler(). * - * If c_marshaller is %NULL @g_cclosure_marshal_generic will be used as + * If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as * the marshaller for this signal. * * Returns: the signal id -- 2.7.4