diff options
author | Dan Winship <danw@src.gnome.org> | 2003-02-06 07:48:52 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-02-06 07:48:52 +0800 |
commit | 13fb419aa00a75cee734a775930b2e048b884254 (patch) | |
tree | fddfa1e3ed3871b24327025a70eb1328cc299931 /addressbook/gui/component/addressbook-component.c | |
parent | 0873dd0b655a282a3c05914ead1dcaf0d5e772ba (diff) | |
download | gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.tar.gz gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.tar.zst gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.zip |
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 <string.h>
* 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
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |