svn commit: samba r1907 - branches/SAMBA_4_0/source/gtk/tools
metze at samba.org
metze at samba.org
Thu Aug 19 09:50:54 GMT 2004
Author: metze
Date: 2004-08-19 09:50:54 +0000 (Thu, 19 Aug 2004)
New Revision: 1907
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1907&nolog=1
Log:
init the configuration
and fix compiler warning
metze
Modified:
branches/SAMBA_4_0/source/gtk/tools/gregedit.c
branches/SAMBA_4_0/source/gtk/tools/gwcrontab.c
branches/SAMBA_4_0/source/gtk/tools/gwsam.c
Changeset:
Modified: branches/SAMBA_4_0/source/gtk/tools/gregedit.c
===================================================================
--- branches/SAMBA_4_0/source/gtk/tools/gregedit.c 2004-08-19 08:11:11 UTC (rev 1906)
+++ branches/SAMBA_4_0/source/gtk/tools/gregedit.c 2004-08-19 09:50:54 UTC (rev 1907)
@@ -605,6 +605,9 @@
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);
Modified: branches/SAMBA_4_0/source/gtk/tools/gwcrontab.c
===================================================================
--- branches/SAMBA_4_0/source/gtk/tools/gwcrontab.c 2004-08-19 08:11:11 UTC (rev 1906)
+++ branches/SAMBA_4_0/source/gtk/tools/gwcrontab.c 2004-08-19 09:50:54 UTC (rev 1907)
@@ -521,9 +521,13 @@
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;
}
-
Modified: branches/SAMBA_4_0/source/gtk/tools/gwsam.c
===================================================================
--- branches/SAMBA_4_0/source/gtk/tools/gwsam.c 2004-08-19 08:11:11 UTC (rev 1906)
+++ branches/SAMBA_4_0/source/gtk/tools/gwsam.c 2004-08-19 09:50:54 UTC (rev 1907)
@@ -402,8 +402,13 @@
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;
}
More information about the samba-cvs
mailing list