From 0ad91b0ea1a45c51845a6a9b925b292506064066 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 7 Oct 2003 21:32:54 +0000 Subject: [PATCH] Add C++ guards. (123955, Harring Figueiredo) Tue Oct 7 23:30:00 2003 Matthias Clasen * gdk-pixbuf-xlib.h: Add C++ guards. (123955, Harring Figueiredo) --- contrib/gdk-pixbuf-xlib/ChangeLog | 4 ++++ contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/contrib/gdk-pixbuf-xlib/ChangeLog b/contrib/gdk-pixbuf-xlib/ChangeLog index 31953b994..3a933ecb9 100644 --- a/contrib/gdk-pixbuf-xlib/ChangeLog +++ b/contrib/gdk-pixbuf-xlib/ChangeLog @@ -1,3 +1,7 @@ +Tue Oct 7 23:30:00 2003 Matthias Clasen + + * gdk-pixbuf-xlib.h: Add C++ guards. (123955, Harring Figueiredo) + 2002-08-06 jacob berkman * Makefile.am (lib_LTLIBRARIES): link against xlibs diff --git a/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h b/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h index b19748671..04f573e7d 100644 --- a/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h +++ b/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h @@ -21,6 +21,10 @@ #ifndef GDK_PIXBUF_XLIB_H #define GDK_PIXBUF_XLIB_H +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include #include #include @@ -79,4 +83,9 @@ GdkPixbuf *gdk_pixbuf_xlib_get_from_drawable (GdkPixbuf *dest, int dest_x, int dest_y, int width, int height); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + #endif /* GDK_PIXBUF_XLIB_H */