Revision ee54f36c7223e230384dc7fec2e26fd569ee62b4

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sat Mar 24 13:51:52 EDT 2007


o   -----------------------------------------------------------------
|   Revision: ee54f36c7223e230384dc7fec2e26fd569ee62b4
|   Ancestor: 5b88029d4b8d1dc29f755eb34b208ec26bd3b229
|   Author: nosnilmot at pidgin.im
|   Date: 2007-03-24T15:57:35
|   Branch: im.pidgin.pidgin
|   
|   Modified files:
|           pidgin/gtkstatusbox.c
|   
|   ChangeLog: 
|   
|   Fix a compile warning so that statusbox_got_url() might actually work
|   
|   
|   ============================================================
|   --- pidgin/gtkstatusbox.c	9a99e05f90dda01e5123e0383118e13cb90cee75
|   +++ pidgin/gtkstatusbox.c	b4b98fcf684e8038f096a2c08cd68bef2b99e802
|   @@ -298,23 +298,22 @@ statusbox_got_url(PurpleUtilFetchUrlData
|    
|    static void
|    statusbox_got_url(PurpleUtilFetchUrlData *url_data, gpointer user_data,
|   -                const gchar *themedata, size_t len, const gchar *error_message, 
|   -		PidginStatusBox *status_box)
|   +                const gchar *themedata, size_t len, const gchar *error_message)
|    {
|   -        FILE *f;
|   -        gchar *path;
|   +	FILE *f;
|   +	gchar *path;
|    
|   -        if ((error_message != NULL) || (len == 0))
|   -                return;
|   +	if ((error_message != NULL) || (len == 0))
|   +		return;
|    
|   -        f = purple_mkstemp(&path, TRUE);
|   -        fwrite(themedata, len, 1, f);
|   -        fclose(f);
|   +	f = purple_mkstemp(&path, TRUE);
|   +	fwrite(themedata, len, 1, f);
|   +	fclose(f);
|    
|   -	icon_choose_cb(path, status_box);
|   +	icon_choose_cb(path, user_data);
|    
|   -        g_unlink(path);
|   -        g_free(path);
|   +	g_unlink(path);
|   +	g_free(path);
|    }
|    
|    
|   @@ -322,7 +321,7 @@ statusbox_uri_handler(const char *proto,
|    statusbox_uri_handler(const char *proto, const char *cmd, GHashTable *params, void *data)
|    {
|    	const char *src;
|   -printf("%s %s\n", proto, cmd);
|   +
|    	if (g_ascii_strcasecmp(proto, "aim"))
|    		return FALSE;
|    

To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from ee54f36c7223e230384dc7fec2e26fd569ee62b4


More information about the Commits mailing list