[Commits] vcard-utils.c 1.6 1.7

miras at claws-mail.org miras at claws-mail.org
Mon Jan 28 02:30:01 CET 2013


Update of /home/claws-mail/contacts/libversit
In directory srv:/tmp/cvs-serv28560/libversit

Modified Files:
	vcard-utils.c 
Log Message:
2013-01-28 [mir]	0.6.0cvs93

	* libversit/vcard-utils.c
	    Fix some compile time warnings 

Index: vcard-utils.c
===================================================================
RCS file: /home/claws-mail/contacts/libversit/vcard-utils.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- vcard-utils.c	27 Jan 2013 18:45:04 -0000	1.6
+++ vcard-utils.c	28 Jan 2013 01:29:58 -0000	1.7
@@ -111,11 +111,11 @@
 };
 
 struct DData {
-	MainWindow*	mainwindow;
-	VcardItem**	items;
-	gchar*		account;
-	gboolean	has_pix;
-	gboolean	has_cert;
+	const MainWindow*	mainwindow;
+	VcardItem**			items;
+	gchar*				account;
+	gboolean			has_pix;
+	gboolean			has_cert;
 };
 
 static void strip_whitespace(gchar** s) {
@@ -1031,7 +1031,7 @@
 	
 	file = g_strconcat(home, G_DIR_SEPARATOR_S, d_data->account, ".vcf", NULL);
 	if (g_file_test(file, G_FILE_TEST_EXISTS)) {
-		registerMimeErrorHandler(mime_error_handler, d_data->mainwindow);
+		registerMimeErrorHandler(mime_error_handler, (void *) d_data->mainwindow);
 		o = Parse_MIME_FromFileName(file);
 		if (o) {
 			if (debug_get_mode())



More information about the Commits mailing list