diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-03-30 01:29:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-03-30 01:29:46 +0800 |
commit | 72f0d0c0001ed7de14640579b9473fed811b866c (patch) | |
tree | a666a4db9172c1fa9879092b534b3613d81e5e68 /plugins | |
parent | b12d14e70117e2287cf3b11137c1f2636c09f4d9 (diff) | |
download | gsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.tar.gz gsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.tar.zst gsoc2013-evolution-72f0d0c0001ed7de14640579b9473fed811b866c.zip |
Fix "incompatible pointer type" warnings (#360619).
2007-03-29 Matthew Barnes <mbarnes@redhat.com>
* 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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bbdb/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/bbdb/gaimbuddies.c | 2 | ||||
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 2 | ||||
-rw-r--r-- | plugins/save-calendar/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/save-calendar/save-calendar.c | 2 |
6 files changed, 18 insertions, 3 deletions
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 <mbarnes@redhat.com> + + * gaimbuddies.c: + Fix "incompatible pointer type" warnings (#360619). + 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** 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 <mbarnes@redhat.com> + + * itip-formatter.c: + Fix "incompatible pointer type" warnings (#360619). + 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** 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 <mbarnes@redhat.com> + + * save-calendar.c: + Fix "incompatible pointer type" warnings (#360619). + 2007-02-20 Chenthill Palanisamy <pchenthill@novell.com> 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); |