2 * Configuration window for wmmaiload dockapp, Thomas Nemeth 2002.
12 #include "../config.h"
15 #include "mainwindow.h"
20 printf("Usage: "PACKAGE
"-cal [-h] [-v]\n"
21 " -h : short usage help\n"
22 " -v : show version\n\n");
32 void app_init(int argc
, char *argv
[]) {
37 if (argv
[ind
][0] == '-') {
38 switch (argv
[ind
][1]) {
40 printf(PACKAGE
"-cal by Thomas Nemeth - v "VERSION
"\n");
44 printf(PACKAGE
"-cal by Thomas Nemeth - v "VERSION
"\n");
48 printf("Unknown option: %s\n", argv
[ind
]);
53 fprintf(stderr
, "Unknown option: %s\n", argv
[ind
]);
59 timeinfos
= localtime(&tnow
);
63 int main(int argc
, char *argv
[]) {
64 setlocale(LC_ALL
, "");
65 gtk_init(&argc
, &argv
);