Mercurial > pidgin
diff libpurple/smiley.h @ 32433:98520ee78f12
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.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Tue, 03 Jan 2012 23:32:59 +0000 |
parents | 02a2e8183b1d |
children |
line wrap: on
line diff
--- a/libpurple/smiley.h Tue Jan 03 19:29:43 2012 +0000 +++ b/libpurple/smiley.h Tue Jan 03 23:32:59 2012 +0000 @@ -50,9 +50,7 @@ #define PURPLE_IS_SMILEY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PURPLE_TYPE_SMILEY)) #define PURPLE_SMILEY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PURPLE_TYPE_SMILEY, PurpleSmileyClass)) -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS /**************************************************************************/ /** @name Custom Smiley API */ @@ -253,9 +251,7 @@ /*@}*/ -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* _PURPLE_SMILEY_H_ */