aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-08-24 11:11:59 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-08-24 11:11:59 +0800
commit30d610644179c36857e1dacc334dff73dc655834 (patch)
treee218896034261a84f18090f92e407a90f8e7bd55 /plugins
parent434e74c52e3ce53b7d5d03356bc0a3fa7822586a (diff)
downloadgsoc2013-evolution-30d610644179c36857e1dacc334dff73dc655834.tar
gsoc2013-evolution-30d610644179c36857e1dacc334dff73dc655834.tar.gz
gsoc2013-evolution-30d610644179c36857e1dacc334dff73dc655834.tar.bz2
gsoc2013-evolution-30d610644179c36857e1dacc334dff73dc655834.tar.lz
gsoc2013-evolution-30d610644179c36857e1dacc334dff73dc655834.tar.xz
gsoc2013-evolution-30d610644179c36857e1dacc334dff73dc655834.tar.zst
gsoc2013-evolution-30d610644179c36857e1dacc334dff73dc655834.zip
fix relative_uri type, don't include every header in the world we dont'
2005-08-23 Not Zed <NotZed@Ximian.com> * 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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/addressbook-file/ChangeLog6
-rw-r--r--plugins/addressbook-file/addressbook-file.c15
2 files changed, 9 insertions, 12 deletions
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 <NotZed@Ximian.com>
+
+ * 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 <tml@novell.com>
* 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 <gtk/gtklabel.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtktable.h>
-#include <gtk/gtkspinbutton.h>
-#include <gtk/gtkoptionmenu.h>
-#include <gtk/gtkmenu.h>
-#include <gtk/gtkmenuitem.h>
-#include <gtk/gtkhbox.h>
#include <e-util/e-config.h>
#include <addressbook/gui/widgets/eab-config.h>
#include <libedataserver/e-source.h>
-#include <libgnome/gnome-i18n.h>
#include <string.h>
-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)) {