From 2ac33fe80be2f4fd9c9c54ae7879c010c2391112 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Mon, 19 May 2008 23:44:15 -0500 Subject: [PATCH] Call gtk_init in moo_set_log_func_window() --- moo/mooutils/mooutils-misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moo/mooutils/mooutils-misc.c b/moo/mooutils/mooutils-misc.c index 9aab5153..109e6d39 100644 --- a/moo/mooutils/mooutils-misc.c +++ b/moo/mooutils/mooutils-misc.c @@ -870,6 +870,8 @@ printerr_func_window (const char *string) void moo_set_log_func_window (gboolean show_now) { + gtk_init (NULL, NULL); + if (show_now) gtk_widget_show (GTK_WIDGET (moo_log_window()->window));