summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r--gtk/src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 779e8c5d6..72deb03a7 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -524,6 +524,8 @@ main (int argc, char *argv[])
ud = g_malloc0(sizeof(signal_user_data_t));
ud->debug = ghb_debug;
g_log_set_handler (NULL, G_LOG_LEVEL_DEBUG, debug_log_handler, ud);
+ g_log_set_handler ("Gtk", G_LOG_LEVEL_WARNING, warn_log_handler, ud);
+ //g_log_set_handler ("Gtk", G_LOG_LEVEL_CRITICAL, warn_log_handler, ud);
ud->settings = ghb_settings_new();
// Enable events that alert us to media change events
watch_volumes (ud);