comparison console/libgnt/gntmain.c @ 13888:9d66969a2e32

[gaim-migrate @ 16369] Get rid of a whole lot of compile warnings. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 28 Jun 2006 19:12:38 +0000
parents 582aaa4e287e
children ab671b76fb96
comparison
equal deleted inserted replaced
13887:7d3256b253ec 13888:9d66969a2e32
1 #include "gnt.h" 1 #include "gnt.h"
2 #include "gntbox.h"
2 #include "gntkeys.h" 3 #include "gntkeys.h"
3 #include "gntcolors.h" 4 #include "gntcolors.h"
5
4 #include <stdio.h> 6 #include <stdio.h>
5 #include <stdlib.h> 7 #include <stdlib.h>
6 #include <locale.h> 8 #include <locale.h>
9 #include <unistd.h>
10 #include <string.h>
7 11
8 static GList *focus_list; 12 static GList *focus_list;
9 static int max_x; 13 static int max_x;
10 static int max_y; 14 static int max_y;
11 15
246 { 250 {
247 while (widget->parent) 251 while (widget->parent)
248 widget = widget->parent; 252 widget = widget->parent;
249 } 253 }
250 254
251 gnt_box_sync_children(widget); 255 gnt_box_sync_children(GNT_BOX(widget));
252 node = g_hash_table_lookup(nodes, widget); 256 node = g_hash_table_lookup(nodes, widget);
253 257
254 win = dupwin(widget->window); 258 win = dupwin(widget->window);
255 259
256 if (node && node->above) 260 if (node && node->above)