Mercurial > pidgin.yaz
diff finch/libgnt/gntcolors.c @ 24503:e2e57d3c0578
Use glib log functions to show error messages.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 28 Nov 2008 06:29:37 +0000 |
parents | ea341703b1d3 |
children | 075aa09253e7 |
line wrap: on
line diff
--- a/finch/libgnt/gntcolors.c Fri Nov 28 02:58:00 2008 +0000 +++ b/finch/libgnt/gntcolors.c Fri Nov 28 06:29:37 2008 +0000 @@ -24,6 +24,10 @@ #include <ncurses.h> +#include "gntinternal.h" +#undef GNT_LOG_DOMAIN +#define GNT_LOG_DOMAIN "Colors" + #include "gntcolors.h" #include "gntstyle.h" @@ -182,7 +186,7 @@ if (error) { - g_printerr("GntColors: %s\n", error->message); + gnt_warning("%s", error->message); g_error_free(error); error = NULL; } @@ -226,7 +230,7 @@ if (error) { - g_printerr("GntColors: %s\n", error->message); + gnt_warning("%s", error->message); g_error_free(error); return; }