2 * Configuration window for wmmaiload dockapp, Thomas Nemeth 2002.
12 #include "../config.h"
15 #include "mainwindow.h"
22 printf("Usage: "PACKAGE
"-cal [-h] [-v]\n"
23 " -h : short usage help\n"
24 " -v : show version\n\n");
34 void app_init(int argc
, char *argv
[]) {
39 if (argv
[ind
][0] == '-') {
40 switch (argv
[ind
][1]) {
42 printf(PACKAGE
"-cal by Thomas Nemeth - v "VERSION
"\n");
46 printf(PACKAGE
"-cal by Thomas Nemeth - v "VERSION
"\n");
50 printf("Unknown option: %s\n", argv
[ind
]);
55 fprintf(stderr
, "Unknown option: %s\n", argv
[ind
]);
61 timeinfos
= localtime(&tnow
);
65 int main(int argc
, char *argv
[]) {
66 setlocale(LC_ALL
, "");
67 gtk_init(&argc
, &argv
);