From 30d610644179c36857e1dacc334dff73dc655834 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 24 Aug 2005 03:11:59 +0000 Subject: fix relative_uri type, don't include every header in the world we dont' 2005-08-23 Not Zed * addressbook-file.c (e_book_file_dummy): fix relative_uri type, don't include every header in the world we dont' need. And it sure has hell seems to do something for a 'dummy' function. svn path=/trunk/; revision=30221 --- plugins/addressbook-file/ChangeLog | 6 ++++++ plugins/addressbook-file/addressbook-file.c | 15 +++------------ 2 files changed, 9 insertions(+), 12 deletions(-) (limited to 'plugins') diff --git a/plugins/addressbook-file/ChangeLog b/plugins/addressbook-file/ChangeLog index 5226860c8f..94c4386bae 100644 --- a/plugins/addressbook-file/ChangeLog +++ b/plugins/addressbook-file/ChangeLog @@ -1,3 +1,9 @@ +2005-08-23 Not Zed + + * addressbook-file.c (e_book_file_dummy): fix relative_uri type, + don't include every header in the world we dont' need. And it + sure has hell seems to do something for a 'dummy' function. + 2005-06-27 Tor Lillqvist * Makefile.am: There is no EVOLUTION_CFLAGS. Use diff --git a/plugins/addressbook-file/addressbook-file.c b/plugins/addressbook-file/addressbook-file.c index eaebcf28a0..8320a31db5 100644 --- a/plugins/addressbook-file/addressbook-file.c +++ b/plugins/addressbook-file/addressbook-file.c @@ -19,29 +19,20 @@ * */ -#include -#include -#include -#include -#include -#include -#include -#include #include #include #include -#include #include -GtkWidget *e_book_file_dummy (EPlugin *epl, EConfigHookItemFactoryData *data); +struct _GtkWidget *e_book_file_dummy (EPlugin *epl, EConfigHookItemFactoryData *data); -GtkWidget * +struct _GtkWidget * e_book_file_dummy (EPlugin *epl, EConfigHookItemFactoryData *data) { EABConfigTargetSource *t = (EABConfigTargetSource *) data->target; ESource *source = t->source; char *uri_text; - char *relative_uri; + const char *relative_uri; uri_text = e_source_get_uri (source); if (strncmp (uri_text, "file", 4)) { -- cgit