Mercurial > pidgin.yaz
diff finch/libgnt/gntmain.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 | 8d74a9e409f1 |
children | ea28a7b9113c |
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c Fri Nov 28 02:58:00 2008 +0000 +++ b/finch/libgnt/gntmain.c Fri Nov 28 06:29:37 2008 +0000 @@ -32,6 +32,10 @@ #include <sys/types.h> #include <sys/wait.h> +#include "gntinternal.h" +#undef GNT_LOG_DOMAIN +#define GNT_LOG_DOMAIN "Main" + #include "gnt.h" #include "gntbox.h" #include "gntbutton.h" @@ -319,7 +323,7 @@ But irssi does this, so I am going to assume the crashes were caused by some other stuff. */ - g_printerr("gntmain: setting up IO (%d)\n", channel_read_callback); + gnt_warning("setting up IO (%d)", channel_read_callback); } static gboolean