From ba009b32fecf6f9651ab29bf7b980a972f0e2a1b Mon Sep 17 00:00:00 2001 From: enselic Date: Sat, 13 Sep 2008 14:41:31 +0000 Subject: include/rmdfunc.h: Get rid of InitializeData(). include/rmdmacro.h: Get rid of the DEFAULT_ARGS() macro. src/initialize_data.[ch]: Completely move InitializeData() here and also put the new DEFAULT_ARGS() replacement, the SetupDefaultArgs() function, here. src/Makefile.am src/rmd_rescue.c src/recordmydesktop.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@534 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/recordmydesktop.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recordmydesktop/src/recordmydesktop.c') diff --git a/recordmydesktop/src/recordmydesktop.c b/recordmydesktop/src/recordmydesktop.c index 5a04bbc..53f776b 100644 --- a/recordmydesktop/src/recordmydesktop.c +++ b/recordmydesktop/src/recordmydesktop.c @@ -26,6 +26,7 @@ #include "recordmydesktop.h" +#include "initialize_data.h" #include "parseargs.h" @@ -33,7 +34,8 @@ int main(int argc,char **argv){ ProgData pdata; int exit_status = 0; - DEFAULT_ARGS(&pdata.args); + SetupDefaultArgs(&pdata.args); + if (!ParseArgs(argc, argv, &pdata.args)) { exit(1); } -- cgit v1.2.1