Mercurial > pidgin.yaz
view pidgin/pixmaps/tb_drag_arrow_right.xpm @ 15907:2cf21661f828
Cleanup and fixes for nat-pmp. We no longer do the whole 'try 10 times, doubling the delay in a blocking manner' ttempt from the original code; as I note in the comments above where the attempt is made a single time, this leads to about 8 minutes of nonresponsiveness if the router both doesn't support nat-pmp and doesn't send back a response to let the program know.
purple_pmp_create_map() and purple_pmp_destroy_map() now return a gboolean indicating success, as the internal data structures of nat-pmp are certainly not needed elsewhere.
The #includes are slightly reordered from the cleanup Mark did (thanks, Mark :) ), as with my OS X 10.3 cross-compiler, anyways, route.h needs to come after the sys includes to be properly handled.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 25 Mar 2007 01:29:58 +0000 |
parents | 5fe8042783c1 |
children |
line wrap: on
line source
/* XPM */ static char * tb_drag_arrow_right_xpm[] = { "16 13 13 1", " c None", ". c #B80000", "+ c #E40E0E", "@ c #D23333", "# c #E54545", "$ c #F05757", "% c #E56A6A", "& c #E87676", "* c #E78383", "= c #F02F2F", "- c #ED9191", "; c #E79F9F", "> c #EDAFAF", " . ", " +. ", " +@. ", " +##. ", ".........+$$$. ", "+%%%%%%%%%%%%%. ", "+&&&&&&&&&&&&&&.", "+*************= ", "+=========---= ", " +;;= ", " +>= ", " += ", " + "};