diff options
author | Elliott Sales de Andrade <qulogic@pidgin.im> | 2012-01-03 23:32:59 +0000 |
---|---|---|
committer | Elliott Sales de Andrade <qulogic@pidgin.im> | 2012-01-03 23:32:59 +0000 |
commit | 1d7d489a65aa6485a0a47942334e0a498ba0ec3e (patch) | |
tree | 4cfb66486145c7669d842589946bbf92df0ea580 /libpurple/prefs.h | |
parent | 180b887f86978ea92355b776a10475289b3dfecb (diff) | |
download | pidgin-1d7d489a65aa6485a0a47942334e0a498ba0ec3e.tar.gz |
Use G_BEGIN/END_DECLS in public libpurple files. This was
previously inconsistent. Sometimes there was even both the
GLib macros and an extern "C" line.
Diffstat (limited to 'libpurple/prefs.h')
-rw-r--r-- | libpurple/prefs.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libpurple/prefs.h b/libpurple/prefs.h index 42fc7687bb..ad8cdd5fc1 100644 --- a/libpurple/prefs.h +++ b/libpurple/prefs.h @@ -62,9 +62,7 @@ typedef enum typedef void (*PurplePrefCallback) (const char *name, PurplePrefType type, gconstpointer val, gpointer data); -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS /**************************************************************************/ /** @name Prefs API @@ -362,8 +360,6 @@ void purple_prefs_update_old(void); /*@}*/ -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* _PURPLE_PREFS_H_ */ |