Mercurial > pidgin
comparison finch/libgnt/gntwm.c @ 22007:c38d72677c8a
Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up
the existing warnings. I removed a handful of dead code and cleaned up a
couple of things that I stumbled across.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 03 Jan 2008 04:57:40 +0000 |
parents | 73aab5bdd830 |
children | 0503cd74cb56 |
comparison
equal
deleted
inserted
replaced
21975:c7c5e2ff2b04 | 22007:c38d72677c8a |
---|---|
133 * | 133 * |
134 * Caveat: If a wide character is erased, and the panel above it is moved enough | 134 * Caveat: If a wide character is erased, and the panel above it is moved enough |
135 * to expose the entire character, it is not always redrawn. | 135 * to expose the entire character, it is not always redrawn. |
136 */ | 136 */ |
137 static void | 137 static void |
138 work_around_for_ncurses_bug() | 138 work_around_for_ncurses_bug(void) |
139 { | 139 { |
140 #ifndef NO_WIDECHAR | 140 #ifndef NO_WIDECHAR |
141 PANEL *panel = NULL; | 141 PANEL *panel = NULL; |
142 while ((panel = panel_below(panel)) != NULL) { | 142 while ((panel = panel_below(panel)) != NULL) { |
143 int sx, ex, sy, ey, w, y; | 143 int sx, ex, sy, ey, w, y; |
181 } | 181 } |
182 #endif | 182 #endif |
183 } | 183 } |
184 | 184 |
185 static void | 185 static void |
186 update_act_msg() | 186 update_act_msg(void) |
187 { | 187 { |
188 GntWidget *label; | 188 GntWidget *label; |
189 GList *iter; | 189 GList *iter; |
190 static GntWidget *message = NULL; | 190 static GntWidget *message = NULL; |
191 GString *text = g_string_new("act: "); | 191 GString *text = g_string_new("act: "); |