summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/recordmydesktop.c
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-13 14:41:31 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-13 14:41:31 +0000
commitba009b32fecf6f9651ab29bf7b980a972f0e2a1b (patch)
tree48088f95f4d9bea1a81fbff25955e392e668ccf1 /recordmydesktop/src/recordmydesktop.c
parent5f218bbf324ff0f9b1d3442386647a73b6f75443 (diff)
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
Diffstat (limited to 'recordmydesktop/src/recordmydesktop.c')
-rw-r--r--recordmydesktop/src/recordmydesktop.c4
1 files changed, 3 insertions, 1 deletions
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);
}
© All Rights Reserved