From 2251186b5bd164f1ad7707a428d0b6c91297f573 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 15 Feb 2005 11:57:43 +0000 Subject: r5409: - add a gtk events plugin - this is used in our gtk apps - make the main() functions of the gtk apps look more simular (we need to get rid of the globals in gregedit!) metze (This used to be commit 1051f9b32f4a5c69a1a6928e6849c8ada047032e) --- source4/gtk/tools/gwcrontab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/gtk/tools/gwcrontab.c') diff --git a/source4/gtk/tools/gwcrontab.c b/source4/gtk/tools/gwcrontab.c index 580bbc2ae3..69ef2d7965 100644 --- a/source4/gtk/tools/gwcrontab.c +++ b/source4/gtk/tools/gwcrontab.c @@ -501,11 +501,11 @@ static GtkWidget*create_new_job_dialog (void) gwcrontab_init_subsystems; lp_load(dyn_CONFIGFILE,True,False,False); load_interfaces(); + setup_logging(argv[0], DEBUG_STDERR); gtk_init(&argc, &argv); mainwin = create_mainwindow(); gtk_widget_show_all(mainwin); - gtk_main(); - return 0; + return gtk_event_loop(); } -- cgit