# HG changeset patch # User Sadrul Habib Chowdhury # Date 1156131612 0 # Node ID e7de1f6d9f356f779758d6185957c5e40be3ce48 # Parent 26ae644bb66b5824fedef3085d9310ab8d76039c [gaim-migrate @ 16938] Mostly minor cleanups committer: Tailor Script diff -r 26ae644bb66b -r e7de1f6d9f35 console/gntconv.c --- 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) diff -r 26ae644bb66b -r e7de1f6d9f35 console/gntgaim.c --- 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)) { diff -r 26ae644bb66b -r e7de1f6d9f35 console/libgnt/gntcolors.c --- 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; } diff -r 26ae644bb66b -r e7de1f6d9f35 console/libgnt/gntentry.c --- a/console/libgnt/gntentry.c Mon Aug 21 03:19:16 2006 +0000 +++ b/console/libgnt/gntentry.c Mon Aug 21 03:40:12 2006 +0000 @@ -304,7 +304,6 @@ return TRUE; } } - /* XXX: handle other keys, like home/end, and ctrl+ goodness */ else if (text[1] == 0) { destroy_suggest(entry); diff -r 26ae644bb66b -r e7de1f6d9f35 console/libgnt/gntmain.c --- a/console/libgnt/gntmain.c Mon Aug 21 03:19:16 2006 +0000 +++ b/console/libgnt/gntmain.c Mon Aug 21 03:40:12 2006 +0000 @@ -1,4 +1,4 @@ -#include +#include #include "gnt.h" #include "gntbox.h"