summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gwcrontab.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-19 09:50:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:10 -0500
commite60139b81f3f642b90f1f10e0d3adab6421c8a81 (patch)
treef46efd9ade0e20e7902e88475266620577b3b7d5 /source4/gtk/tools/gwcrontab.c
parent8dfd1daf30bcbf9bceeaaf3b5eddf24b9e513a6f (diff)
downloadsamba-e60139b81f3f642b90f1f10e0d3adab6421c8a81.tar.gz
samba-e60139b81f3f642b90f1f10e0d3adab6421c8a81.tar.bz2
samba-e60139b81f3f642b90f1f10e0d3adab6421c8a81.zip
r1907: init the configuration
and fix compiler warning metze (This used to be commit c358f11406e8aca68325a40c6bbed78c53ac024f)
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;
+}