Call gtk_init in moo_set_log_func_window()

This commit is contained in:
Yevgen Muntyan 2008-05-19 23:44:15 -05:00
parent c372376c44
commit 2ac33fe80b

View File

@ -870,6 +870,8 @@ printerr_func_window (const char *string)
void void
moo_set_log_func_window (gboolean show_now) moo_set_log_func_window (gboolean show_now)
{ {
gtk_init (NULL, NULL);
if (show_now) if (show_now)
gtk_widget_show (GTK_WIDGET (moo_log_window()->window)); gtk_widget_show (GTK_WIDGET (moo_log_window()->window));