diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2006-05-05 12:30:18 +0000 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-05-05 12:30:18 +0000 |
commit | 00d118d57937280bb85f50774597981b0201b470 (patch) | |
tree | 00716d62ae8fc35530e5edbdaac7fb130a5aa218 /gconf/gconf-client.h | |
parent | 4801f3cb36aeba135e065eb2323f2a3e4ca01eae (diff) | |
download | gconf-00d118d57937280bb85f50774597981b0201b470.tar.gz |
Use G_BEGIN/END_DECLS instead of a lot of #ifdef __cplusplus stuff. Closes
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-changeset.h:
* gconf/gconf-client.h:
* gconf/gconf-database.h:
* gconf/gconf-engine.h:
* gconf/gconf-error.h:
* gconf/gconf-listeners.h:
* gconf/gconf-locale.h:
* gconf/gconf-schema.h:
* gconf/gconf-value.h:
* gconf/gconf.h:
* gconf/gconfd.h: Use G_BEGIN/END_DECLS instead
of a lot of #ifdef __cplusplus stuff. Closes bug 306313.
Patch from FabrÃcio Barros Cebral.
Diffstat (limited to 'gconf/gconf-client.h')
-rw-r--r-- | gconf/gconf-client.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gconf/gconf-client.h b/gconf/gconf-client.h index 5cf2bb13..d24af511 100644 --- a/gconf/gconf-client.h +++ b/gconf/gconf-client.h @@ -26,9 +26,7 @@ #include <gconf/gconf-listeners.h> #include <gconf/gconf-changeset.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS /* * This is a wrapper for the client-side GConf API which provides several @@ -385,9 +383,7 @@ GConfChangeSet* gconf_client_change_set_from_current (GConfClient* client, const gchar* first_key, ...) G_GNUC_NULL_TERMINATED; -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif |