Mercurial > pidgin.yaz
diff src/browser.c @ 1267:9cff8ff01d37
[gaim-migrate @ 1277]
WHAT THE FUCK. Why do people use goto? It pisses me off. To no end. Let me say right now, if anyone submits a patch that has a goto in it, they'll probably be very ridiculed, possibly publicly, before i put them on my block list and refuse to accept any patches from them. Ever. Even if they don't have gotos in them. You can't excuse a goto. Ever. X-Chat has them all over. Read src/common/inbound.c. It made me do no fewer than three full-body shivers.
Oh yeah, and i moved blist files from %s.blist to %d.blist. gaim will take care of moving it for you.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 14 Dec 2000 13:22:58 +0000 |
parents | b5783215b245 |
children | 2d5fef1f986d |
line wrap: on
line diff
--- a/src/browser.c Thu Dec 14 12:26:56 2000 +0000 +++ b/src/browser.c Thu Dec 14 13:22:58 2000 +0000 @@ -398,7 +398,7 @@ /* Print to warn user... */ debug_printf("%s: window 0x%x was destroyed.\n", progname, (unsigned int)window); result = 6; - goto DONE; + done = True; } else if (event->type == GDK_PROPERTY_NOTIFY && event->property.state == GDK_PROPERTY_NEW_VALUE && event->property.window == window && @@ -471,8 +471,6 @@ gdk_event_free(event); } - DONE: - if (new_command) g_free(new_command);