~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to gobject/gsourceclosure.c

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 * Boston, MA 02111-1307, USA.
18
18
 */
19
19
 
 
20
#include "config.h"
 
21
 
20
22
#include "gsourceclosure.h"
21
23
#include "gboxed.h"
22
24
#include "genums.h"
25
27
#include "gvaluetypes.h"
26
28
#include "gobjectalias.h"
27
29
 
 
30
 
28
31
GType
29
32
g_io_channel_get_type (void)
30
33
{
155
158
  closure_callback_get
156
159
};
157
160
 
 
161
/**
 
162
 * g_source_set_closure:
 
163
 * @source: the source
 
164
 * @closure: a #GClosure
 
165
 *
 
166
 * Set the callback for a source as a #GClosure.
 
167
 *
 
168
 * If the source is not one of the standard GLib types, the @closure_callback
 
169
 * and @closure_marshal fields of the #GSourceFuncs structure must have been
 
170
 * filled in with pointers to appropriate functions.
 
171
 */
158
172
void
159
173
g_source_set_closure (GSource  *source,
160
174
                      GClosure *closure)