From c8caea8a8510c31fc028501acf44734f48b8dc3b Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 12 Dec 2010 15:51:06 +0100 Subject: Cleanup header defines --- src/atom-writer.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/atom-writer.h') diff --git a/src/atom-writer.h b/src/atom-writer.h index cf90001..2daa031 100644 --- a/src/atom-writer.h +++ b/src/atom-writer.h @@ -15,12 +15,15 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef __ATOM_WRITER_H__ -#define __ATOM_WRITER_H__ +#ifndef __CGG__ATOM_WRITER_H__ +#define __CGG__ATOM_WRITER_H__ #include #include "setup.h" +G_BEGIN_DECLS + + /* * Resources: * http://tools.ietf.org/html/rfc4287 @@ -59,7 +62,7 @@ void atom_writer_set_base_url (TAtomFeed *feed, const gchar *base_u void atom_writer_set_feed_url (TAtomFeed *feed, const gchar *feed_url); void atom_writer_free (TAtomFeed *feed); /* will free data of all items */ -TAtomFeedItem * atom_writer_add_item (TAtomFeed *feed); +TAtomFeedItem * atom_writer_add_item (TAtomFeed *feed); void atom_feed_item_set_title (TAtomFeedItem *item, const gchar *title); void atom_feed_item_set_path (TAtomFeedItem *item, const gchar *path); void atom_feed_item_set_date (TAtomFeedItem *item, const gchar *date); @@ -67,4 +70,6 @@ void atom_feed_item_set_summary (TAtomFeedItem *item, const gch void atom_feed_item_set_summary_type (TAtomFeedItem *item, const gchar *summary_type); -#endif /* __ATOM_WRITER_H__ */ +G_END_DECLS + +#endif /* __CGG__ATOM_WRITER_H__ */ -- cgit v1.2.3