summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-10-07 21:32:54 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-10-07 21:32:54 +0000
commit0ad91b0ea1a45c51845a6a9b925b292506064066 (patch)
tree57984a18e81fa6d1ab2a84088868cc15cf00904f /contrib
parent324228a33c454036939a8365a5c7b101f04f5ada (diff)
downloadgtk+-0ad91b0ea1a45c51845a6a9b925b292506064066.tar.gz
Add C++ guards. (123955, Harring Figueiredo)
Tue Oct 7 23:30:00 2003 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf-xlib.h: Add C++ guards. (123955, Harring Figueiredo)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gdk-pixbuf-xlib/ChangeLog4
-rw-r--r--contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h9
2 files changed, 13 insertions, 0 deletions
diff --git a/contrib/gdk-pixbuf-xlib/ChangeLog b/contrib/gdk-pixbuf-xlib/ChangeLog
index 31953b9941..3a933ecb97 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 <maclas@gmx.de>
+
+ * gdk-pixbuf-xlib.h: Add C++ guards. (123955, Harring Figueiredo)
+
2002-08-06 jacob berkman <jacob@ximian.com>
* 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 b19748671f..04f573e7d4 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 <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h>
#include <X11/Xlib.h>
@@ -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 */