Mercurial > pidgin
comparison libpurple/protocols/qq/utils.c @ 24018:c0c82c50897f
Remove the (win32 only?!) QQ buddy icon pixmaps due to copyright concerns
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 30 Aug 2008 02:30:04 +0000 |
parents | 5f454b975a99 |
children | 147ada94a1d8 |
comparison
equal
deleted
inserted
replaced
24017:05907ea114ef | 24018:c0c82c50897f |
---|---|
395 const char *qq_buddy_icon_dir(void) | 395 const char *qq_buddy_icon_dir(void) |
396 { | 396 { |
397 if (purple_prefs_exists("/prpl/qq/buddy_icon_dir")) | 397 if (purple_prefs_exists("/prpl/qq/buddy_icon_dir")) |
398 return purple_prefs_get_string("/prpl/qq/buddy_icon_dir"); | 398 return purple_prefs_get_string("/prpl/qq/buddy_icon_dir"); |
399 else | 399 else |
400 return QQ_BUDDY_ICON_DIR; | 400 return NULL; |
401 } | 401 } |
402 | |
403 #ifdef _WIN32 | |
404 const char *qq_win32_buddy_icon_dir(void) | |
405 { | |
406 static char *dir = NULL; | |
407 if (dir == NULL) | |
408 dir = g_build_filename(wpurple_install_dir(), "pixmaps", | |
409 "purple", "buddy_icons", "qq", NULL); | |
410 return dir; | |
411 } | |
412 #endif |