1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r15235: fix all gtk tools...

metze
(This used to be commit c14fbc9aad)
This commit is contained in:
Stefan Metzmacher 2006-04-25 09:57:18 +00:00 committed by Gerald (Jerry) Carter
parent f7ef520158
commit d8f85bac2f
4 changed files with 8 additions and 4 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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();