|
Packit Service |
3bdf47 |
/*
|
|
Packit Service |
3bdf47 |
* Copyright (C) 2002,2003 Red Hat, Inc.
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* This program is free software: you can redistribute it and/or modify
|
|
Packit Service |
3bdf47 |
* it under the terms of the GNU General Public License as published by
|
|
Packit Service |
3bdf47 |
* the Free Software Foundation, either version 3 of the License, or
|
|
Packit Service |
3bdf47 |
* (at your option) any later version.
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
3bdf47 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
3bdf47 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
3bdf47 |
* GNU General Public License for more details.
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
3bdf47 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
3bdf47 |
*/
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#include <config.h>
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#include <glib.h>
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#include "terminal-debug.h"
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
TerminalDebugFlags _terminal_debug_flags;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
void
|
|
Packit Service |
3bdf47 |
_terminal_debug_init(void)
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
#ifdef ENABLE_DEBUG
|
|
Packit Service |
3bdf47 |
const GDebugKey keys[] = {
|
|
Packit Service |
3bdf47 |
{ "accels", TERMINAL_DEBUG_ACCELS },
|
|
Packit Service |
3bdf47 |
{ "clipboard", TERMINAL_DEBUG_CLIPBOARD },
|
|
Packit Service |
3bdf47 |
{ "encodings", TERMINAL_DEBUG_ENCODINGS },
|
|
Packit Service |
3bdf47 |
{ "server", TERMINAL_DEBUG_SERVER },
|
|
Packit Service |
3bdf47 |
{ "geometry", TERMINAL_DEBUG_GEOMETRY },
|
|
Packit Service |
3bdf47 |
{ "mdi", TERMINAL_DEBUG_MDI },
|
|
Packit Service |
3bdf47 |
{ "processes", TERMINAL_DEBUG_PROCESSES },
|
|
Packit Service |
3bdf47 |
{ "profile", TERMINAL_DEBUG_PROFILE },
|
|
Packit Service |
3bdf47 |
{ "settings-list", TERMINAL_DEBUG_SETTINGS_LIST },
|
|
Packit Service |
3bdf47 |
{ "search", TERMINAL_DEBUG_SEARCH },
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
_terminal_debug_flags = g_parse_debug_string (g_getenv ("GNOME_TERMINAL_DEBUG"),
|
|
Packit Service |
3bdf47 |
keys, G_N_ELEMENTS (keys));
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#endif /* ENABLE_DEBUG */
|
|
Packit Service |
3bdf47 |
}
|
|
Packit Service |
3bdf47 |
|