summaryrefslogtreecommitdiff
path: root/gdk/gdkpixbuf.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-30 17:40:39 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-30 17:40:39 +0000
commitbf5561d2f6bde0c40aa9f31efd56530e850ae9a6 (patch)
tree8c572fbd14a4fce49761f3989d453dc1e7974754 /gdk/gdkpixbuf.h
parentdd58d2339030bd9222fb4b01faf883545102f58c (diff)
downloadgtk+-bf5561d2f6bde0c40aa9f31efd56530e850ae9a6.tar.gz
Include cairo.h
2005-03-30 Matthias Clasen <mclasen@redhat.com> * gdk/gdkpixbuf.h: Include cairo.h
Diffstat (limited to 'gdk/gdkpixbuf.h')
-rw-r--r--gdk/gdkpixbuf.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gdk/gdkpixbuf.h b/gdk/gdkpixbuf.h
index 26d72d04a8..04f00a7eef 100644
--- a/gdk/gdkpixbuf.h
+++ b/gdk/gdkpixbuf.h
@@ -1,13 +1,12 @@
#ifndef __GDK_PIXBUF_H__
#define __GDK_PIXBUF_H__
+#include <cairo.h>
#include <gdk/gdktypes.h>
#include <gdk/gdkrgb.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Rendering to a drawable */
@@ -84,8 +83,6 @@ GdkPixbuf *gdk_pixbuf_get_from_image (GdkPixbuf *dest,
void gdk_pixbuf_set_as_cairo_source (GdkPixbuf *pixbuf,
cairo_t *cr);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_PIXBUF_H__ */