From 238d4b2091aa051391d6cbadba7140f8cb152390 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 17 Feb 2001 08:40:12 +0000 Subject: From a patch submitted by Murray Cumming 2001-02-17 Christopher James Lahey From a patch submitted by Murray Cumming * gal/util/e-util.h, gal/util/e-xml-utils.h, gal/widgets/e-canvas-utils.h, gal/widgets/e-colors.h, gal/widgets/e-cursors.h, gal/widgets/e-gui-utils.h, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.h, gal/widgets/gtk-combo-stack.h: Added GNOME_DECLS. svn path=/trunk/; revision=8267 --- e-util/e-util.h | 10 ++++++++++ e-util/e-xml-utils.h | 4 ++++ 2 files changed, 14 insertions(+) (limited to 'e-util') diff --git a/e-util/e-util.h b/e-util/e-util.h index 5e8e250799..4e93639e9c 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -5,6 +5,11 @@ #include #include +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + #define E_MAKE_TYPE(l,str,t,ci,i,parent) \ GtkType l##_get_type(void)\ {\ @@ -88,6 +93,11 @@ void e_marshal_BOOL__INT_INT_POINTER_INT_INT_INT (GtkObject gpointer func_data, GtkArg *args); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + #define e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_UINT_UINT e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT void e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT (GtkObject *object, diff --git a/e-util/e-xml-utils.h b/e-util/e-xml-utils.h index d08e99afb0..bdcd756f3b 100644 --- a/e-util/e-xml-utils.h +++ b/e-util/e-xml-utils.h @@ -26,6 +26,8 @@ #include #include +BEGIN_GNOME_DECLS + xmlNode *e_xml_get_child_by_name (const xmlNode *parent, const xmlChar *child_name); /* lang set to NULL means use the current locale. */ @@ -87,4 +89,6 @@ void e_xml_set_string_prop_by_name (xmlNode *parent, gchar *e_xml_get_translated_string_prop_by_name (const xmlNode *parent, const xmlChar *prop_name); +END_GNOME_DECLS + #endif /* __E_XML_UTILS__ */ -- cgit v1.2.3