Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/console/libgnt/gntmain.c Wed Jun 28 18:50:33 2006 +0000 +++ b/console/libgnt/gntmain.c Wed Jun 28 19:12:38 2006 +0000 @@ -1,9 +1,13 @@ #include "gnt.h" +#include "gntbox.h" #include "gntkeys.h" #include "gntcolors.h" + #include <stdio.h> #include <stdlib.h> #include <locale.h> +#include <unistd.h> +#include <string.h> static GList *focus_list; static int max_x; @@ -248,7 +252,7 @@ widget = widget->parent; } - gnt_box_sync_children(widget); + gnt_box_sync_children(GNT_BOX(widget)); node = g_hash_table_lookup(nodes, widget); win = dupwin(widget->window);