From c2cd3a89be64964f3b9a0a191d7c400b628044fd Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 26 Jun 2007 17:36:40 +0000 Subject: [PATCH] remove a debugging console message that shouldn't've been checked in --- gtk/ipc.c | 2 +- gtk/msgwin.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gtk/ipc.c b/gtk/ipc.c index bfb4c4f92..5af74af6f 100644 --- a/gtk/ipc.c +++ b/gtk/ipc.c @@ -795,7 +795,7 @@ addinfo( TrTorrent * tor, enum ipc_msg msgid, int torid, int types, } else { - tr_stat_t * st = tr_torrent_stat( tor ); + const tr_stat_t * st = tr_torrent_stat( tor ); return ipc_addstat( val, torid, st, types ); } } diff --git a/gtk/msgwin.c b/gtk/msgwin.c index bc1064954..d4b66664d 100644 --- a/gtk/msgwin.c +++ b/gtk/msgwin.c @@ -306,8 +306,7 @@ msgwin_loadpref( void ) { int level = TR_MSG_INF; textbuf = debug_window_text_buffer_new ( ); - gboolean b = tr_prefs_get_int( PREF_ID_MSGLEVEL, &level ); -g_message ("level from prefs: %d (b==%d)", level, (int)b ); + tr_prefs_get_int( PREF_ID_MSGLEVEL, &level ); tr_setMessageLevel( level ); tr_setMessageQueuing( TRUE ); }