From d671e29102193b74bf977ac068a2adea2fc12a6c Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 28 Aug 2001 00:18:34 +0000 Subject: Studlycapsize all the IDs that are not. Likewise. Updated accordingly. * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are not. * Evolution-common.idl: Likewise. * evolution-activity-client.c: Updated accordingly. * evolution-shell-component.c: Likewise. * evolution-storage.c: Likewise. * e-activity-handler.c: Likewise. * e-component-registry.c: Likewise. * e-corba-storage.c: Likewise. * e-shell-user-creatable-items-handlers.c: Likewise. * e-local-storage.c (remove_folder): Remove unused variable. * e-shell-view.c (update_for_current_uri): Assign zero to `unread_count', not NULL. * e-shell-importer.c (import_druid_finish): Remove unused variable. * e-shell-user-creatable-items-handler.c: #include "e-corba-utils.h". * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: #include * e-summary-weather.c (weather_make_html): Make local variable `icon_name' const. Remove unused variable `uri'. * e-summary.h: Reformatted in GTK+ style. (e_summary_remove_online_connection): Added prototype. * e-summary-preferences.c (fill_mail_shown_clist): Constify local variable `name'. * e-summary-mail.c: #include "e-util/e-path.h". Updated to match the new studlyCapsification in shell/Evolution*.idl. * mail-local.c: Match the studlyCapsification of shell/Evolution*.idl. * mail-config-druid.h: Change type of `event_source' from `Bonobo_EventSource *' to `Bonobo_EventSource'. * mail-accounts.c (mail_delete): Remove unused local variable `label'. * folder-info.c (do_get_info): `#if 0' unused variables. * gui/component/addressbook-component.c: Get rid of a warning by initializing the closing NULL element in folder_types correctly. * gui/component/select-names/e-select-names.c: Updated to match the studlyCapsification of attributes in shell/Evolution*.idl. svn path=/trunk/; revision=12495 --- mail/ChangeLog | 13 +++++++++++++ mail/folder-info.c | 6 +++--- mail/mail-accounts.c | 1 - mail/mail-config-druid.h | 2 +- mail/mail-local.c | 6 +++--- 5 files changed, 20 insertions(+), 8 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 3b31d63576..082d31295c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,16 @@ +2001-08-27 Ettore Perazzoli + + * mail-local.c: Match the studlyCapsification of + shell/Evolution*.idl. + + * mail-config-druid.h: Change type of `event_source' from + `Bonobo_EventSource *' to `Bonobo_EventSource'. + + * mail-accounts.c (mail_delete): Remove unused local variable + `label'. + + * folder-info.c (do_get_info): `#if 0' unused variables. + 2001-08-27 Jon Trowbridge * mail-callbacks.c (mail_generate_reply): Check if we are trying diff --git a/mail/folder-info.c b/mail/folder-info.c index 3230148fea..386a34787d 100644 --- a/mail/folder-info.c +++ b/mail/folder-info.c @@ -68,12 +68,12 @@ static void do_get_info (struct _mail_msg *mm) { struct _folder_info_msg *m = (struct _folder_info_msg *) mm; - char *uri_dup; - char *foldername, *start, *end; - char *storage, *protocol, *uri; CamelFolder *folder; CamelException *ex; #if 0 + char *uri_dup; + char *foldername, *start, *end; + char *storage, *protocol, *uri; /* Fixme: Do other stuff. Different stuff to the stuff below */ uri_dup = g_strdup (m->foldername); start = uri_dup + 11; diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index efdaf2e13e..391d4f0aaa 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -271,7 +271,6 @@ mail_delete (GtkButton *button, gpointer data) MailAccountsDialog *dialog = data; MailConfigAccount *account; GnomeDialog *confirm; - GtkWidget *label; int ans; if (dialog->accounts_row < 0) diff --git a/mail/mail-config-druid.h b/mail/mail-config-druid.h index 515a7b209c..c88f3f9f99 100644 --- a/mail/mail-config-druid.h +++ b/mail/mail-config-druid.h @@ -55,7 +55,7 @@ typedef struct { int id; BonoboListener *listener; - Bonobo_EventSource *event_source; + Bonobo_EventSource event_source; } MailConfigDruid; typedef struct { diff --git a/mail/mail-local.c b/mail/mail-local.c index 07b9e37929..3f9c9bdd74 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -556,15 +556,15 @@ local_storage_new_folder_cb (EvolutionStorageListener *storage_listener, int id; if (strcmp (folder->type, "mail") != 0 || - strncmp (folder->physical_uri, "file://", 7) != 0 || - strncmp (folder->physical_uri + 7, local_store->local_path, + strncmp (folder->physicalUri, "file://", 7) != 0 || + strncmp (folder->physicalUri + 7, local_store->local_path, local_store->local_pathlen) != 0) return; local_folder = g_new0 (MailLocalFolder, 1); local_folder->name = g_strdup (strrchr (path, '/') + 1); local_folder->path = g_strdup (path); - local_folder->uri = g_strdup (folder->physical_uri); + local_folder->uri = g_strdup (folder->physicalUri); local_folder->local_store = local_store; camel_object_ref ((CamelObject *)local_store); -- cgit v1.2.3