evolution-data-server/evolution-data-server-1.8.1-warn-incompatible-pointer-type.patch

95 lines
4.1 KiB
Diff
Raw Normal View History

--- evolution-data-server-1.8.1/libedataserverui/e-name-selector-dialog.c.warn-incompatible-pointer-type 2006-08-19 07:11:53.000000000 -0400
+++ evolution-data-server-1.8.1/libedataserverui/e-name-selector-dialog.c 2006-10-08 22:10:10.000000000 -0400
@@ -541,7 +541,7 @@
section.remove_button = GTK_BUTTON (gtk_button_new());
section.destination_view = GTK_TREE_VIEW (gtk_tree_view_new ());
- gtk_label_set_mnemonic_widget (GTK_LABEL (section.label), section.destination_view);
+ gtk_label_set_mnemonic_widget (GTK_LABEL (section.label), GTK_WIDGET (section.destination_view));
if (pango_parse_markup (pretty_name, -1, '_', NULL,
&text, NULL, NULL)) {
--- evolution-data-server-1.8.1/libedataserver/e-data-server-module.c.warn-incompatible-pointer-type 2006-05-10 00:36:46.000000000 -0400
+++ evolution-data-server-1.8.1/libedataserver/e-data-server-module.c 2006-10-08 22:10:10.000000000 -0400
@@ -270,5 +270,5 @@
void
e_data_server_module_remove_unused (void)
{
- g_list_foreach (module_objects, g_object_unref, NULL);
+ g_list_foreach (module_objects, (GFunc) g_object_unref, NULL);
}
--- evolution-data-server-1.8.1/camel/providers/nntp/camel-nntp-store-summary.c.warn-incompatible-pointer-type 2006-04-20 04:52:55.000000000 -0400
+++ evolution-data-server-1.8.1/camel/providers/nntp/camel-nntp-store-summary.c 2006-10-08 22:10:10.000000000 -0400
@@ -249,7 +249,7 @@
} else {
if (c == '/')
c = dir_sep;
- camel_utf8_putc(&f, c);
+ camel_utf8_putc((unsigned char **) &f, c);
}
break;
case 1:
@@ -259,11 +259,11 @@
case 2:
state = 0;
v |= hexnib (c);
- camel_utf8_putc (&f, v);
+ camel_utf8_putc ((unsigned char **) &f, v);
break;
}
}
- camel_utf8_putc (&f, c);
+ camel_utf8_putc ((unsigned char **) &f, c);
/* merge old path part if required */
f = camel_utf8_utf7 (full);
--- evolution-data-server-1.8.1/camel/providers/imap/camel-imap-store-summary.c.warn-incompatible-pointer-type 2006-04-20 04:52:54.000000000 -0400
+++ evolution-data-server-1.8.1/camel/providers/imap/camel-imap-store-summary.c 2006-10-08 22:10:10.000000000 -0400
@@ -256,7 +256,7 @@
else {
if (c == '/')
c = dir_sep;
- camel_utf8_putc(&f, c);
+ camel_utf8_putc((unsigned char **) &f, c);
}
break;
case 1:
@@ -266,11 +266,11 @@
case 2:
state = 0;
v |= hexnib(c);
- camel_utf8_putc(&f, v);
+ camel_utf8_putc((unsigned char **) &f, v);
break;
}
}
- camel_utf8_putc(&f, c);
+ camel_utf8_putc((unsigned char **) &f, c);
/* merge old path part if required */
f = g_strdup(full);
--- evolution-data-server-1.8.1/camel/providers/groupwise/camel-groupwise-utils.c.warn-incompatible-pointer-type 2006-07-22 06:58:51.000000000 -0400
+++ evolution-data-server-1.8.1/camel/providers/groupwise/camel-groupwise-utils.c 2006-10-08 22:10:10.000000000 -0400
@@ -442,8 +442,8 @@
charset = camel_content_type_param (type, "charset");
if (charset && g_ascii_strcasecmp (charset, "US-ASCII") && g_ascii_strcasecmp (charset, "UTF-8")) {
- filter = camel_mime_filter_charset_new_convert (charset, "UTF-8");
- filtered_stream = camel_stream_filter_new_with_stream ((CamelStream *) content);
+ filter = (CamelMimeFilter *) camel_mime_filter_charset_new_convert (charset, "UTF-8");
+ filtered_stream = (CamelStream *) camel_stream_filter_new_with_stream ((CamelStream *) content);
camel_stream_filter_add ((CamelStreamFilter *) filtered_stream, filter);
camel_object_unref (filter);
} else {
@@ -665,8 +665,8 @@
charset = camel_content_type_param (type, "charset");
if (charset && g_ascii_strcasecmp (charset, "US-ASCII") && g_ascii_strcasecmp (charset, "UTF-8")) {
- filter = camel_mime_filter_charset_new_convert (charset, "UTF-8");
- filtered_stream = camel_stream_filter_new_with_stream ((CamelStream *) content);
+ filter = (CamelMimeFilter *) camel_mime_filter_charset_new_convert (charset, "UTF-8");
+ filtered_stream = (CamelStream *) camel_stream_filter_new_with_stream ((CamelStream *) content);
camel_stream_filter_add ((CamelStreamFilter *) filtered_stream, filter);
camel_object_unref (filter);
} else {