Mercurial > pidgin
comparison finch/libgnt/gntmain.c @ 24558: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 |
comparison
equal
deleted
inserted
replaced
24557:7b27f7c41d85 | 24558:e2e57d3c0578 |
---|---|
29 | 29 |
30 #include <gmodule.h> | 30 #include <gmodule.h> |
31 | 31 |
32 #include <sys/types.h> | 32 #include <sys/types.h> |
33 #include <sys/wait.h> | 33 #include <sys/wait.h> |
34 | |
35 #include "gntinternal.h" | |
36 #undef GNT_LOG_DOMAIN | |
37 #define GNT_LOG_DOMAIN "Main" | |
34 | 38 |
35 #include "gnt.h" | 39 #include "gnt.h" |
36 #include "gntbox.h" | 40 #include "gntbox.h" |
37 #include "gntbutton.h" | 41 #include "gntbutton.h" |
38 #include "gntcolors.h" | 42 #include "gntcolors.h" |
317 | 321 |
318 g_io_channel_unref(channel); /* Apparently this caused crashes for some people. | 322 g_io_channel_unref(channel); /* Apparently this caused crashes for some people. |
319 But irssi does this, so I am going to assume the | 323 But irssi does this, so I am going to assume the |
320 crashes were caused by some other stuff. */ | 324 crashes were caused by some other stuff. */ |
321 | 325 |
322 g_printerr("gntmain: setting up IO (%d)\n", channel_read_callback); | 326 gnt_warning("setting up IO (%d)", channel_read_callback); |
323 } | 327 } |
324 | 328 |
325 static gboolean | 329 static gboolean |
326 refresh_screen(void) | 330 refresh_screen(void) |
327 { | 331 { |