Mercurial > pidgin.yaz
diff finch/libgnt/gnttextview.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 | f10aba5592c6 |
children | c67d43408daa |
line wrap: on
line diff
--- a/finch/libgnt/gnttextview.c Fri Nov 28 02:58:00 2008 +0000 +++ b/finch/libgnt/gnttextview.c Fri Nov 28 06:29:37 2008 +0000 @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ +#include "gntinternal.h" +#undef GNT_LOG_DOMAIN +#define GNT_LOG_DOMAIN "TextView" + #include "gntstyle.h" #include "gnttextview.h" #include "gntutils.h" @@ -780,7 +784,7 @@ /* XXX: Make things work if the tagged text spans over several lines. */ } else { /* XXX: handle the rest of the conditions */ - g_printerr("WTF! This needs to be handled properly!!\n"); + gnt_warning("WTF! This needs to be handled properly!!%s", ""); } } }