Commit e11441c2 authored by Behdad Esfahbod's avatar Behdad Esfahbod Committed by Behdad Esfahbod

Make a couple debug messages conditional on DEBUG_MISC.

2006-02-09  Behdad Esfahbod  <behdad@gnome.org>

        * src/vteapp.c: Make a couple debug messages conditional on
        DEBUG_MISC.
parent 1a07b922
2006-02-09 Behdad Esfahbod <behdad@gnome.org>
* src/vteapp.c: Make a couple debug messages conditional on
DEBUG_MISC.
2006-02-03 Behdad Esfahbod <behdad@gnome.org>
* src/vte.c: Warning cleanup. A couple were actually bugs.
......
......@@ -117,12 +117,20 @@ destroy_and_quit(GtkWidget *widget, gpointer data)
static void
destroy_and_quit_eof(GtkWidget *widget, gpointer data)
{
g_print("Detected EOF.\n");
#ifdef VTE_DEBUG
if (_vte_debug_on(VTE_DEBUG_MISC)) {
g_print("Detected EOF.\n");
}
#endif
}
static void
destroy_and_quit_exited(GtkWidget *widget, gpointer data)
{
g_print("Detected child exit.\n");
#ifdef VTE_DEBUG
if (_vte_debug_on(VTE_DEBUG_MISC)) {
g_print("Detected child exit.\n");
}
#endif
destroy_and_quit(widget, data);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment