Mercurial > pidgin
changeset 14256:e7de1f6d9f35
[gaim-migrate @ 16938]
Mostly minor cleanups
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 21 Aug 2006 03:40:12 +0000 |
parents | 26ae644bb66b |
children | 14933d9055a0 |
files | console/gntconv.c console/gntgaim.c console/libgnt/gntcolors.c console/libgnt/gntentry.c console/libgnt/gntmain.c |
diffstat | 5 files changed, 7 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/console/gntconv.c Mon Aug 21 03:19:16 2006 +0000 +++ b/console/gntconv.c Mon Aug 21 03:40:12 2006 +0000 @@ -360,7 +360,7 @@ static void gg_chat_rename_user(GaimConversation *conv, const char *old, const char *new_n, const char *new_a) { - /* XXX: Update the name for string completion */ + /* Update the name for string completion */ GGConv *ggc = conv->ui_data; GntEntry *entry = GNT_ENTRY(ggc->entry); gnt_entry_remove_suggest(entry, old); @@ -371,7 +371,7 @@ static void gg_chat_remove_user(GaimConversation *conv, GList *list) { - /* XXX: Remove the name from string completion */ + /* Remove the name from string completion */ GGConv *ggc = conv->ui_data; GntEntry *entry = GNT_ENTRY(ggc->entry); for (; list; list = list->next)
--- a/console/gntgaim.c Mon Aug 21 03:19:16 2006 +0000 +++ b/console/gntgaim.c Mon Aug 21 03:40:12 2006 +0000 @@ -249,11 +249,7 @@ gaim_plugins_add_search_path(path); g_free(path); -#ifdef LIBDIR gaim_plugins_add_search_path(LIBDIR); -#else - gaim_plugins_add_search_path("/usr/local/lib/gaim"); /* XXX: Remove this after the restructure */ -#endif if (!gaim_core_init(GAIM_GNT_UI)) {
--- a/console/libgnt/gntcolors.c Mon Aug 21 03:19:16 2006 +0000 +++ b/console/libgnt/gntcolors.c Mon Aug 21 03:40:12 2006 +0000 @@ -40,7 +40,7 @@ { backup_colors(); - /* XXX: Do some init_color()s */ + /* Do some init_color()s */ init_color(GNT_COLOR_BLACK, 0, 0, 0); init_color(GNT_COLOR_RED, 1000, 0, 0); init_color(GNT_COLOR_GREEN, 0, 1000, 0); @@ -115,8 +115,9 @@ if (error) { - /* XXX: some error happened. */ + g_printerr("GntColors: %s\n", error->message); g_error_free(error); + error = NULL; } else { @@ -156,7 +157,7 @@ if (error) { - /* XXX: some error happened. */ + g_printerr("GntColors: %s\n", error->message); g_error_free(error); return; }