~ubuntu-branches/ubuntu/vivid/nip2/vivid-proposed

« back to all changes in this revision

Viewing changes to src/log.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2009-05-12 09:26:46 UTC
  • mfrom: (1.2.11 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090512092646-j8lb1w2x69pvgma4
Tags: 7.18.1-1ubuntu1
* Merge from debian unstable (LP: #375435), remaining changes:
  - debian/control: Also Recommend abrowser

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#define DEBUG
32
32
 */
33
33
 
 
34
/* Send log to stdout as well
 
35
#define DEBUG_FILE
 
36
 */
 
37
 
34
38
#include "ip.h"
35
39
 
36
40
static iWindowClass *parent_class = NULL;
167
171
        gtk_text_buffer_insert_at_cursor( text_buffer, buf, -1 );
168
172
        gtk_text_view_scroll_to_mark( text_view, mark, 
169
173
                0.0, TRUE, 0.5, 1 );
 
174
 
 
175
#ifdef DEBUG_FILE
 
176
        printf( "%s", buf );
 
177
#endif 
170
178
}
171
179
 
172
180
void