comparison src/gtkblist.c @ 13968:6fc412e59214

[gaim-migrate @ 16525] A bunch of little things * Use GAIM_CONNECTION_IS_VALID(gc) in a lot of places where we were doing g_list_find(gaim_connections_get_all(), gc) * Get rid of a lot of places where we were doing g_list_find(gaim_connections_get_all(), gc). The handle used by the request API ensures that the ok and cancel callback functions won't be called if the gc is destroyed. However, GAIM_CONNECTION_IS_VALID(gc) is still very important for callback functions where we can't cancel the request. For example, gaim_proxy_connect() callback functions. * "Added" a function to Yahoo! that should help us notice when our buddies change their buddy icon/display picture * Some comments in a few places * Changed GAIM_CONNECTION_IS_VALID(gc) to only look through the list of "all" connections and not the list of "connecting" connections. Some time ago we changed how this was done so that the list of "all" connections now includes the "connection" connections. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 20 Jul 2006 08:11:54 +0000
parents dc4db4925249
children 8bda65b88e49
comparison
equal deleted inserted replaced
13967:99b9b58b19dd 13968:6fc412e59214
3433 size_t i; 3433 size_t i;
3434 size_t len; 3434 size_t len;
3435 PangoLogAttr *log_attrs; 3435 PangoLogAttr *log_attrs;
3436 gchar *word; 3436 gchar *word;
3437 3437
3438 if (strcasecmp(key, "Global Thermonuclear War") == 0)
3439 {
3440 gaim_notify_info(NULL, "WOPR",
3441 "Wouldn't you prefer a nice game of chess?", NULL);
3442 return FALSE;
3443 }
3444
3438 gtk_tree_model_get(model, iter, column, &withmarkup, -1); 3445 gtk_tree_model_get(model, iter, column, &withmarkup, -1);
3439 3446
3440 tmp = g_utf8_normalize(key, -1, G_NORMALIZE_DEFAULT); 3447 tmp = g_utf8_normalize(key, -1, G_NORMALIZE_DEFAULT);
3441 enteredstring = g_utf8_casefold(tmp, -1); 3448 enteredstring = g_utf8_casefold(tmp, -1);
3442 g_free(tmp); 3449 g_free(tmp);