changeset 14121:8af7f3a7015f

[gaim-migrate @ 16755] Whoops, few more warning fixes committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Aug 2006 08:32:52 +0000
parents d812efcea547
children dabbcb9b013d
files src/connection.h src/ft.c src/upnp.c src/util.c
diffstat 4 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/connection.h	Mon Aug 14 08:27:53 2006 +0000
+++ b/src/connection.h	Mon Aug 14 08:32:52 2006 +0000
@@ -271,6 +271,10 @@
  *
  * @return @c TRUE if gc is valid.
  */
+/*
+ * TODO: Eventually this bad boy will be removed, because it is
+ *       a gross fix for a crashy problem.
+ */
 #define GAIM_CONNECTION_IS_VALID(gc) (g_list_find(gaim_connections_get_all(), (gc)))
 
 /*@}*/
--- a/src/ft.c	Mon Aug 14 08:27:53 2006 +0000
+++ b/src/ft.c	Mon Aug 14 08:32:52 2006 +0000
@@ -911,7 +911,7 @@
 }
 
 static void
-connect_cb(gpointer data, gint source)
+connect_cb(gpointer data, gint source, const gchar *error_message)
 {
 	GaimXfer *xfer = (GaimXfer *)data;
 
--- a/src/upnp.c	Mon Aug 14 08:27:53 2006 +0000
+++ b/src/upnp.c	Mon Aug 14 08:32:52 2006 +0000
@@ -780,7 +780,7 @@
 }
 
 static void
-looked_up_internal_ip_cb(gpointer data, gint source)
+looked_up_internal_ip_cb(gpointer data, gint source, const gchar *error_message)
 {
 	if (source) {
 		strncpy(control_info.internalip,
--- a/src/util.c	Mon Aug 14 08:27:53 2006 +0000
+++ b/src/util.c	Mon Aug 14 08:32:52 2006 +0000
@@ -3367,7 +3367,7 @@
 }
 
 static void
-url_fetch_connect_cb(gpointer url_data, gint source)
+url_fetch_connect_cb(gpointer url_data, gint source, const gchar *error_message)
 {
 	GaimFetchUrlData *gfud;