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

« back to all changes in this revision

Viewing changes to gobject/gsourceclosure.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 06:25:57 UTC
  • mfrom: (1.27.14) (3.1.181 experimental)
  • Revision ID: package-import@ubuntu.com-20130508062557-i7gbku66mls70gi2
Tags: 2.36.1-2
Merge experimental branch, upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
17
17
 * Boston, MA 02111-1307, USA.
18
18
 */
 
19
#ifndef __G_SOURCECLOSURE_H__
 
20
#define __G_SOURCECLOSURE_H__
 
21
 
19
22
#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
20
23
#error "Only <glib-object.h> can be included directly."
21
24
#endif
22
25
 
23
 
#ifndef __G_SOURCECLOSURE_H__
24
 
#define __G_SOURCECLOSURE_H__
25
 
 
26
26
#include <gobject/gclosure.h>
27
27
#include <gobject/glib-types.h>
28
28
 
29
29
G_BEGIN_DECLS
30
30
 
 
31
GLIB_AVAILABLE_IN_ALL
31
32
void g_source_set_closure        (GSource  *source,
32
33
                                  GClosure *closure);
33
34
 
 
35
GLIB_AVAILABLE_IN_ALL
34
36
void g_source_set_dummy_callback (GSource  *source);
35
37
 
36
38
G_END_DECLS