[evolution-patches] gnome-pilot 64bit fixes



This attached tiny fixes are at least needed for the capplet to start on
AMD64.  Still need to get around to testing syncing.

Thanks,

Jeremy
? autom4te.cache
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-pilot/ChangeLog,v
retrieving revision 1.292
diff -u -r1.292 ChangeLog
--- ChangeLog	11 Jun 2003 17:51:04 -0000	1.292
+++ ChangeLog	13 Jun 2003 23:18:58 -0000
@@ -1,3 +1,11 @@
+2003-06-13  Jeremy Katz  <katzj redhat com>
+
+	* gpilotd/gnome-pilot-client.gob: Use correct type in signal 
+	declaration.  
+	* conduits/file/gpilot_install_file.c (gpilotd_request_completed): 
+	Fix pointer/int conversion.
+	(main): Likewise.
+
 2003-06-11  Rodney Dawes  <dobey ximian com>
 
 	* libgpilotdCM/gnome-pilot-conduit-management.gob
Index: conduits/file/gpilot_install_file.c
===================================================================
RCS file: /cvs/gnome/gnome-pilot/conduits/file/gpilot_install_file.c,v
retrieving revision 1.25
diff -u -r1.25 gpilot_install_file.c
--- conduits/file/gpilot_install_file.c	21 Apr 2003 17:14:58 -0000	1.25
+++ conduits/file/gpilot_install_file.c	13 Jun 2003 23:18:58 -0000
@@ -51,7 +51,7 @@
 gpilotd_request_completed (GnomePilotClient *gpc, gchar *pilot_id, gint handle, gpointer data)
 {
 	g_message ("%s completed %d", pilot_id, handle);
-	handles = g_slist_remove (handles,(gpointer)handle);
+	handles = g_slist_remove (handles,GINT_TO_POINTER(handle));
 	if (handles == NULL)
 		gnome_dialog_close (GNOME_DIALOG (dialog));
 }
@@ -62,7 +62,7 @@
 	GSList *e;
 
 	for (e=list;e;e = g_slist_next (e)) {
-		gnome_pilot_client_remove_request (gpc,(gint)e->data);  
+		gnome_pilot_client_remove_request (gpc,GPOINTER_TO_INT(e->data));  
 	}
 	g_slist_free (list);
 
@@ -139,7 +139,7 @@
 						       0,
 						       &handle);
 		if (err == GPILOTD_OK) {
-			handles = g_slist_prepend (handles,(gpointer)handle);
+			handles = g_slist_prepend (handles,GINT_TO_POINTER(handle));
 			notfailed = g_slist_prepend (notfailed, args[i]);
 		} else {
 			failed = g_slist_prepend (failed, args[i]);
Index: gpilotd/gnome-pilot-client.gob
===================================================================
RCS file: /cvs/gnome/gnome-pilot/gpilotd/gnome-pilot-client.gob,v
retrieving revision 1.35
diff -u -r1.35 gnome-pilot-client.gob
--- gpilotd/gnome-pilot-client.gob	2 May 2003 13:10:06 -0000	1.35
+++ gpilotd/gnome-pilot-client.gob	13 Jun 2003 23:18:58 -0000
@@ -391,7 +391,7 @@
 		return;
 	}
 
-	signal first NONE (POINTER,INT)
+	signal first NONE (POINTER,ULONG)
 	void completed_request (self, const gchar *pilot_name, unsigned long request_id) {
 		return;
 	}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]