summaryrefslogtreecommitdiff
path: root/source4/gtk/tools
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-04-25 09:57:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:22 -0500
commitd8f85bac2fc10d8fcc7e4b675c98301a8791a005 (patch)
tree6290e2b244065c56cf141d1e47a1b86f86fe2078 /source4/gtk/tools
parentf7ef5201580d6c57f12764e95e8facf864224f0a (diff)
downloadsamba-d8f85bac2fc10d8fcc7e4b675c98301a8791a005.tar.gz
samba-d8f85bac2fc10d8fcc7e4b675c98301a8791a005.tar.bz2
samba-d8f85bac2fc10d8fcc7e4b675c98301a8791a005.zip
r15235: fix all gtk tools...
metze (This used to be commit c14fbc9aadbb8e4fbc1f07a65b604979638383b9)
Diffstat (limited to 'source4/gtk/tools')
-rw-r--r--source4/gtk/tools/gepdump.c3
-rw-r--r--source4/gtk/tools/gregedit.c4
-rw-r--r--source4/gtk/tools/gwcrontab.c3
-rw-r--r--source4/gtk/tools/gwsam.c2
4 files changed, 8 insertions, 4 deletions
diff --git a/source4/gtk/tools/gepdump.c b/source4/gtk/tools/gepdump.c
index 00b13def54..5f7f346838 100644
--- a/source4/gtk/tools/gepdump.c
+++ b/source4/gtk/tools/gepdump.c
@@ -459,10 +459,11 @@ static GtkWidget* create_mainwindow (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);
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 3326fff6e8..e0717187d9 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -968,12 +968,12 @@ int main(int argc, char *argv[])
int ret;
lp_load();
-
- registry_init();
setup_logging(argv[0], DEBUG_STDERR);
mem_ctx = talloc_init("gregedit");
+ registry_init();
+
gtk_init(&argc, &argv);
mainwin = create_mainwindow();
gtk_widget_show_all(mainwin);
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);
diff --git a/source4/gtk/tools/gwsam.c b/source4/gtk/tools/gwsam.c
index 5f274e622b..d788dfd459 100644
--- a/source4/gtk/tools/gwsam.c
+++ b/source4/gtk/tools/gwsam.c
@@ -403,6 +403,8 @@ int main(int argc, char **argv)
lp_load();
setup_logging(argv[0], DEBUG_STDERR);
+ dcerpc_init();
+
gtk_init(&argc, &argv);
mainwin = create_mainwindow();
connect_sam();