summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-23 02:43:56 +0000
committerDana Jansens <danakj@orodu.net>2007-04-23 02:43:56 +0000
commita8535d49a95cdedbbd0450b189ed3765ddecb4c5 (patch)
treea0d016725cbf6ae8712b4641787413db3f75745d /openbox/openbox.c
parenteb18f502b533210f63100265e7be55718f6c78f0 (diff)
only show debug messages if you enable it on command line and remove extra newline
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 4ad1c70a..61c54da0 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -99,15 +99,11 @@ static Cursor load_cursor(const gchar *name, guint fontval);
gint main(gint argc, gchar **argv)
{
-#ifdef DEBUG
- ob_debug_show_output(TRUE);
-#endif
-
state = OB_STATE_STARTING;
/* initialize the locale */
if (!setlocale(LC_ALL, ""))
- g_warning("Couldn't set locale from environment.\n");
+ g_warning("Couldn't set locale from environment.");
bindtextdomain(PACKAGE_NAME, LOCALEDIR);
bind_textdomain_codeset(PACKAGE_NAME, "UTF-8");
textdomain(PACKAGE_NAME);