summaryrefslogtreecommitdiff
path: root/src/fe-text/textbuffer.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-13 17:07:37 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-13 17:07:37 +0000
commited966c69210873eceb34d980ecf432a3111f9da5 (patch)
treed74953664d8d8fc6a031cf2e1ea0bc34a545712e /src/fe-text/textbuffer.c
parent9a435e68f9fb681e297257063a2d7aca6b6665c7 (diff)
downloadirssi-ed966c69210873eceb34d980ecf432a3111f9da5.zip
changed log domain and changed few g_return_if_fails to g_asserts. the
domain change makes all glib warnings be printed into stderr instead of trying to print them into irssi window which most probably would just mysteriously crash. also irssi doesn't now crash if it thinks screen height is 0 :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2787 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/textbuffer.c')
-rw-r--r--src/fe-text/textbuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-text/textbuffer.c b/src/fe-text/textbuffer.c
index ee11aa67..e989b8fd 100644
--- a/src/fe-text/textbuffer.c
+++ b/src/fe-text/textbuffer.c
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#define G_LOG_DOMAIN "TextBuffer"
+
#include "module.h"
#include "misc.h"
#include "formats.h"