summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gwcrontab.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk/tools/gwcrontab.c')
-rw-r--r--source4/gtk/tools/gwcrontab.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/gtk/tools/gwcrontab.c b/source4/gtk/tools/gwcrontab.c
index aa5495bcc0..ed45ca7704 100644
--- a/source4/gtk/tools/gwcrontab.c
+++ b/source4/gtk/tools/gwcrontab.c
@@ -521,9 +521,13 @@ static GtkWidget*create_new_job_dialog (void)
int main(int argc, char **argv)
{
+ lp_load(dyn_CONFIGFILE,True,False,False);
+ load_interfaces();
+
gtk_init(&argc, &argv);
mainwin = create_mainwindow();
gtk_widget_show(mainwin);
gtk_main();
-}
+ return 0;
+}