From 13fb419aa00a75cee734a775930b2e048b884254 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 5 Feb 2003 23:48:52 +0000 Subject: Remove cruft, rename ICONSDIR to IMAGESDIR. (serverdir, gladedir): Remove * gui/component/Makefile.am (INCLUDES): Remove cruft, rename ICONSDIR to IMAGESDIR. (serverdir, gladedir): Remove defintions. * gui/component/addressbook-component.c (IS_CONTACT_TYPE): use g_ascii_strcasecmp (add_creatable_item): s/ICONSDIR/IMAGESDIR/ * gui/component/component-factory.c: #include * gui/component/e-address-widget.c: Likewise. (e_address_widget_destroy): s/gtk_idle_remove/g_source_remove/ (e_address_widget_schedule_query): s/gtk_idle_add/g_idle_add/ svn path=/trunk/; revision=19786 --- addressbook/gui/component/addressbook-component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/component/addressbook-component.c') diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index 244afb0cc6..8d8de1fb41 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -82,7 +82,7 @@ static const EvolutionShellComponentFolderType folder_types[] = { { NULL } }; -#define IS_CONTACT_TYPE(x) (g_strcasecmp((x), "contacts") == 0 || g_strcasecmp ((x), "contacts/ldap") == 0 || g_strcasecmp((x), "contacts/public") == 0) +#define IS_CONTACT_TYPE(x) (g_ascii_strcasecmp((x), "contacts") == 0 || g_ascii_strcasecmp ((x), "contacts/ldap") == 0 || g_ascii_strcasecmp((x), "contacts/public") == 0) /* EvolutionShellComponent methods and signals. */ @@ -527,7 +527,7 @@ add_creatable_item (EvolutionShellComponent *shell_component, icon_path = NULL; icon = NULL; } else { - icon_path = g_build_filename (EVOLUTION_ICONSDIR, icon_name, NULL); + icon_path = g_build_filename (EVOLUTION_IMAGESDIR, icon_name, NULL); icon = gdk_pixbuf_new_from_file (icon_path, NULL); } -- cgit v1.2.3