From 72f0d0c0001ed7de14640579b9473fed811b866c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 29 Mar 2007 17:29:46 +0000 Subject: Fix "incompatible pointer type" warnings (#360619). 2007-03-29 Matthew Barnes * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339 --- plugins/bbdb/ChangeLog | 5 +++++ plugins/bbdb/gaimbuddies.c | 2 +- plugins/itip-formatter/ChangeLog | 5 +++++ plugins/itip-formatter/itip-formatter.c | 2 +- plugins/save-calendar/ChangeLog | 5 +++++ plugins/save-calendar/save-calendar.c | 2 +- 6 files changed, 18 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog index 2877876382..4f89b00ee4 100644 --- a/plugins/bbdb/ChangeLog +++ b/plugins/bbdb/ChangeLog @@ -1,3 +1,8 @@ +2007-03-29 Matthew Barnes + + * gaimbuddies.c: + Fix "incompatible pointer type" warnings (#360619). + 2007-03-20 Matthew Barnes ** Fixes part of bug #419524 diff --git a/plugins/bbdb/gaimbuddies.c b/plugins/bbdb/gaimbuddies.c index 7661c6e6cf..2b6d6ca2f5 100644 --- a/plugins/bbdb/gaimbuddies.c +++ b/plugins/bbdb/gaimbuddies.c @@ -250,7 +250,7 @@ bbdb_merge_buddy_to_contact (EBook *book, GaimBuddy *b, EContact *c) photo = g_new0 (EContactPhoto, 1); photo->type = E_CONTACT_PHOTO_TYPE_INLINED; - if (! g_file_get_contents (b->icon, &photo->data.inlined.data, &photo->data.inlined.length, &error)) { + if (! g_file_get_contents (b->icon, (gchar **) &photo->data.inlined.data, &photo->data.inlined.length, &error)) { g_warning ("bbdb: Could not read buddy icon: %s\n", error->message); g_error_free (error); for (l = ims; l != NULL; l = l->next) diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index 99928d30b5..d74387a828 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,8 @@ +2007-03-29 Matthew Barnes + + * itip-formatter.c: + Fix "incompatible pointer type" warnings (#360619). + 2007-03-20 Matthew Barnes ** Fixes part of bug #419524 diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index b91e19bcb8..7df6a6296a 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -848,7 +848,7 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response) } } - g_slist_foreach (attachments, g_free, NULL); + g_slist_foreach (attachments, (GFunc) g_free, NULL); g_slist_free (attachments); e_cal_component_set_attachment_list (clone_comp, new_attachments); diff --git a/plugins/save-calendar/ChangeLog b/plugins/save-calendar/ChangeLog index 4e19e4e72d..4b7391009a 100644 --- a/plugins/save-calendar/ChangeLog +++ b/plugins/save-calendar/ChangeLog @@ -1,3 +1,8 @@ +2007-03-29 Matthew Barnes + + * save-calendar.c: + Fix "incompatible pointer type" warnings (#360619). + 2007-02-20 Chenthill Palanisamy Fixes #238093 (bnc) diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index 7a7e4289b7..ad86106d99 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -175,7 +175,7 @@ ask_destination_and_save (EPlugin *ep, ECalPopupTargetSource *target, ECalSource gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); gtk_file_chooser_set_extra_widget (GTK_FILE_CHOOSER (dialog), extra_widget); - gtk_file_chooser_set_local_only (dialog, FALSE); + gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog), FALSE); #else dialog = gtk_file_selection_new (_("Select destination file")); gtk_box_pack_start (GTK_BOX (GTK_FILE_SELECTION (dialog)->main_vbox), extra_widget, FALSE, TRUE, 0); -- cgit v1.2.3