annotate src/gtkgaim.h @ 10342:476bf80b8ad8

[gaim-migrate @ 11552] Thanks to Kyeong-uk Son for pointing these out committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 10 Dec 2004 05:26:26 +0000
parents b6178d85d132
children 6a043ae92db6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
1 /**
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
2 * @file gtkgaim.h UI definitions and includes
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
3 * @ingroup gtkui
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
4 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
5 * gaim
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
6 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
7 * Gaim is the legal property of its developers, whose names are too numerous
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
8 * to list here. Please refer to the COPYRIGHT file distributed with this
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
9 * source distribution.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
10 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
14 * (at your option) any later version.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
15 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
19 * GNU General Public License for more details.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
20 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
24 */
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
25 #ifndef _GAIM_GTKGAIM_H_
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
26 #define _GAIM_GTKGAIM_H_
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
27
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
28 #ifndef _WIN32
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
29 # include <gdk/gdkx.h>
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
30 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
31
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
32 #include <gtk/gtk.h>
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
33
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
34 #ifndef _WIN32
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
35 # define GAIM_ALERT_TITLE ""
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
36 #else
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
37 # define GAIM_ALERT_TITLE "Gaim"
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
38 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
39
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
40 /*
10062
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
41 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
42 * It defines the new wrap behavior (unknown in earlier versions)
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
43 * as the old (slightly buggy) wrap behavior.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
44 */
10062
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
45 #if (!GTK_CHECK_VERSION(2,4,0))
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
46 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
47 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
48
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
49
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
50 #endif /* _GAIM_GTKGAIM_H_ */
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
51