summaryrefslogtreecommitdiff
path: root/source4/gtk/tools
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk/tools')
-rw-r--r--source4/gtk/tools/gregedit.c3
-rw-r--r--source4/gtk/tools/gwcrontab.c6
-rw-r--r--source4/gtk/tools/gwsam.c5
3 files changed, 13 insertions, 1 deletions
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 0ec5c8e45c..081028ee18 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -605,6 +605,9 @@ static GtkWidget* create_savefilewin (void)
POPT_TABLEEND
};
+ lp_load(dyn_CONFIGFILE,True,False,False);
+ load_interfaces();
+
gtk_init (&argc, &argv);
pc = poptGetContext(argv[0], argc, (const char **) argv, long_options,0);
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;
+}
diff --git a/source4/gtk/tools/gwsam.c b/source4/gtk/tools/gwsam.c
index 2ca6363a6d..31bbf002de 100644
--- a/source4/gtk/tools/gwsam.c
+++ b/source4/gtk/tools/gwsam.c
@@ -402,8 +402,13 @@ create_mainwindow (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;
}