Mercurial > pidgin.yaz
comparison finch/libgnt/gntmain.c @ 17718:8410511f4dbb
applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
through e82c41f34ce5f7439b2f2971139efaf6ef7a54ff
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Wed, 06 Jun 2007 15:50:21 +0000 |
parents | cfa84fed6ecd |
children | ac904659104f |
comparison
equal
deleted
inserted
replaced
17717:f189497429c5 | 17718:8410511f4dbb |
---|---|
1 /** | |
2 * GNT - The GLib Ncurses Toolkit | |
3 * | |
4 * GNT is the legal property of its developers, whose names are too numerous | |
5 * to list here. Please refer to the COPYRIGHT file distributed with this | |
6 * source distribution. | |
7 * | |
8 * This library is free software; you can redistribute it and/or modify | |
9 * it under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 * GNU General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU General Public License | |
19 * along with this program; if not, write to the Free Software | |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 */ | |
22 | |
1 #define _GNU_SOURCE | 23 #define _GNU_SOURCE |
2 #if defined(__APPLE__) | 24 #if defined(__APPLE__) |
3 #define _XOPEN_SOURCE_EXTENDED | 25 #define _XOPEN_SOURCE_EXTENDED |
4 #endif | 26 #endif |
5 | 27 |
49 | 71 |
50 static void setup_io(void); | 72 static void setup_io(void); |
51 | 73 |
52 static gboolean refresh_screen(); | 74 static gboolean refresh_screen(); |
53 | 75 |
54 GntWM *wm; | 76 static GntWM *wm; |
55 static GntClipboard *clipboard; | 77 static GntClipboard *clipboard; |
56 | 78 |
57 #define HOLDING_ESCAPE (escape_stuff.timer != 0) | 79 #define HOLDING_ESCAPE (escape_stuff.timer != 0) |
58 | 80 |
59 static struct { | 81 static struct { |