comparison libpurple/protocols/qq/buddy_info.c @ 27392:d7ac2ad0db5a

Add a comment about some strange behavior that I noticed
author Mark Doliner <mark@kingant.net>
date Mon, 06 Jul 2009 23:24:37 +0000
parents e0d739a002b4
children a5628ba3c83c
comparison
equal deleted inserted replaced
27391:b9790d3e2a0a 27392:d7ac2ad0db5a
528 528
529 icon_name = g_strdup_printf("%s%d%s", QQ_ICON_PREFIX, icon, QQ_ICON_SUFFIX); 529 icon_name = g_strdup_printf("%s%d%s", QQ_ICON_PREFIX, icon, QQ_ICON_SUFFIX);
530 return icon_name; 530 return icon_name;
531 } 531 }
532 532
533 /*
534 * Hmm, this function is a bit weird.
535 * 1. The pref "/plugins/prpl/qq/icon_dir" doesn't exist
536 * 2. QQ_BUDDY_ICON_DIR is set in Makefile.am, but it's set to a
537 * directory that doesn't exist
538 * 3. Why would the icon path be different for Windows and Linux?
539 * 4. Why do we use this in the first place? Setting your icon
540 * should go through the account editor.
541 */
533 gchar *qq_get_icon_path(gchar *icon_name) 542 gchar *qq_get_icon_path(gchar *icon_name)
534 { 543 {
535 gchar *icon_path; 544 gchar *icon_path;
536 const gchar *icon_dir; 545 const gchar *icon_dir;
537 #ifdef _WIN32 546 #ifdef _WIN32