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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/gtk/tools/gwcrontab.c b/source4/gtk/tools/gwcrontab.c
index a00b57dd0d..821787e5e3 100644
--- a/source4/gtk/tools/gwcrontab.c
+++ b/source4/gtk/tools/gwcrontab.c
@@ -491,10 +491,11 @@ static GtkWidget*create_new_job_dialog (void)
int main(int argc, char **argv)
{
- dcerpc_init();
lp_load();
setup_logging(argv[0], DEBUG_STDERR);
+ dcerpc_init();
+
gtk_init(&argc, &argv);
mainwin = create_mainwindow();
gtk_widget_show_all(mainwin);