annotate src/logwindow.h @ 1808:6c61c246506b

Fix a small issue with strptime strptime do not initialize all fields. So the undefined fields could end in crash later on.
author mow
date Sun, 28 Feb 2010 15:17:12 +0000
parents 956aab097ea7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
678
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
1 /*
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
2 * Geeqie
1802
956aab097ea7 added 2010 to copyright text
nadvornik
parents: 1284
diff changeset
3 * Copyright (C) 2008 - 2010 The Geeqie Team
678
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
4 *
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
5 * Author: Vladimir Nadvornik, Laurent Monin
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
6 * based on logwindow.[ch] from Sylpheed 2.4.7 (C) Hiroyuki Yamamoto
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
7 *
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
9 * Please read the included file COPYING for more information.
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
11 */
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
12
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
13 #ifndef LOGWINDOW_H
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
14 #define LOGWINDOW_H
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
15
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
16 typedef enum
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
17 {
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
18 LOG_NORMAL = 0,
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
19 LOG_MSG,
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
20 LOG_WARN,
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
21 LOG_ERROR,
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
22 LOG_COUNT
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
23 } LogType;
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
24
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
25 void log_window_new(void);
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
26
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
27 void log_window_append(const gchar *str, LogType type);
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
28
6d6f042b8ca5 Add a log window that shows normal and debug messages. For now, it was added to Help menu.
zas_
parents:
diff changeset
29 #endif /* LOGWINDOW_H */
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 678
diff changeset
30 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */