aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2001-03-26 19:32:15 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2001-03-26 19:32:15 +0800
commitb32ab1a0c992242039ccffa28b67f6f9674224d2 (patch)
tree91bfd040be4caa6b330c0c499070c168043199aa
parent69af2a1b0470d0df62f6b28e0e4c87465343198b (diff)
downloadgsoc2013-evolution-b32ab1a0c992242039ccffa28b67f6f9674224d2.tar
gsoc2013-evolution-b32ab1a0c992242039ccffa28b67f6f9674224d2.tar.gz
gsoc2013-evolution-b32ab1a0c992242039ccffa28b67f6f9674224d2.tar.bz2
gsoc2013-evolution-b32ab1a0c992242039ccffa28b67f6f9674224d2.tar.lz
gsoc2013-evolution-b32ab1a0c992242039ccffa28b67f6f9674224d2.tar.xz
gsoc2013-evolution-b32ab1a0c992242039ccffa28b67f6f9674224d2.tar.zst
gsoc2013-evolution-b32ab1a0c992242039ccffa28b67f6f9674224d2.zip
Replace <gnome.h> <and <bonobo.h> includes and add <stdlib.h> to remove
2001-03-26 Kjartan Maraas <kmaraas@gnome.org> * wombat.c: Replace <gnome.h> <and <bonobo.h> includes and add <stdlib.h> to remove warnings from newer gcc. 2001-03-21 JP Rosevear <jpr@ximian.com> svn path=/trunk/; revision=8939
-rw-r--r--wombat/ChangeLog5
-rw-r--r--wombat/wombat.c22
2 files changed, 20 insertions, 7 deletions
diff --git a/wombat/ChangeLog b/wombat/ChangeLog
index 532d53489a..d1045a0f45 100644
--- a/wombat/ChangeLog
+++ b/wombat/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-26 Kjartan Maraas <kmaraas@gnome.org>
+
+ * wombat.c: Replace <gnome.h> <and <bonobo.h> includes
+ and add <stdlib.h> to remove warnings from newer gcc.
+
2001-03-21 JP Rosevear <jpr@ximian.com>
* Makefile.am: add wombat-moniker.h as a source so it gets disted
diff --git a/wombat/wombat.c b/wombat/wombat.c
index f5baae4610..5c40b0530a 100644
--- a/wombat/wombat.c
+++ b/wombat/wombat.c
@@ -5,21 +5,29 @@
* Copyright 2000, Helix Code, Inc.
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
-#include <gnome.h>
-#include <bonobo.h>
+#endif
+
+#include <stdlib.h>
+#include <glib.h>
+#include <libgnome/gnome-defs.h>
+#include <libgnome/gnome-i18n.h>
+#include <libgnomeui/gnome-init.h>
#include <liboaf/liboaf.h>
-#include <pas/pas-book-factory.h>
-#include <pas/pas-backend-file.h>
#include <libgnomevfs/gnome-vfs-init.h>
+#include <bonobo/bonobo-main.h>
-#ifdef HAVE_LDAP
-#include <pas/pas-backend-ldap.h>
-#endif
+#include "pas/pas-book-factory.h"
+#include "pas/pas-backend-file.h"
#include "calendar/pcs/cal-factory.h"
#include "calendar/pcs/cal-backend-file.h"
+#ifdef HAVE_LDAP
+#include "pas/pas-backend-ldap.h"
+#endif
+
#include "wombat-moniker.h"
/* The and addressbook calendar factories */