2
* Copyright (C) 2002,2003 Red Hat, Inc.
4
* This is free software; you can redistribute it and/or modify it under
5
* the terms of the GNU Library General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* General Public License for more details.
14
* You should have received a copy of the GNU Library General Public
15
* License along with this program; if not, write to the Free Software
16
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23
#include "terminal-debug.h"
25
TerminalDebugFlags _terminal_debug_flags;
28
_terminal_debug_init(void)
30
#ifdef GNOME_ENABLE_DEBUG
31
const GDebugKey keys[] = {
32
{ "accels", TERMINAL_DEBUG_ACCELS },
33
{ "encodings", TERMINAL_DEBUG_ENCODINGS },
34
{ "factory", TERMINAL_DEBUG_FACTORY },
35
{ "geometry", TERMINAL_DEBUG_GEOMETRY },
36
{ "profile", TERMINAL_DEBUG_PROFILE }
39
_terminal_debug_flags = g_parse_debug_string (g_getenv ("GNOME_TERMINAL_DEBUG"),
40
keys, G_N_ELEMENTS (keys));
41
#endif /* GNOME_ENABLE_DEBUG */