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/addressbook-file.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'plugins/addressbook-file/addressbook-file.c') 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 v1.2.3