# HG changeset patch # User Sadrul Habib Chowdhury # Date 1162065993 0 # Node ID 29c6bec37b96e6ad7cb47ead1255e413cef8b8dc # Parent 71404dbedabc285919b557c4aad2d9ed058539d6 [gaim-migrate @ 17608] More compile warning fixes committer: Tailor Script diff -r 71404dbedabc -r 29c6bec37b96 console/libgnt/gntstyle.c --- a/console/libgnt/gntstyle.c Sat Oct 28 20:05:27 2006 +0000 +++ b/console/libgnt/gntstyle.c Sat Oct 28 20:06:33 2006 +0000 @@ -171,7 +171,7 @@ if (g_key_file_has_group(gkfile, name)) { - unsigned int len = 0; + gsize len = 0; char **keys; keys = g_key_file_get_keys(gkfile, name, &len, &error); @@ -225,7 +225,7 @@ if (g_key_file_has_group(gkfile, name)) { - unsigned int len = 0; + gsize len = 0; char **keys; keys = g_key_file_get_keys(gkfile, name, &len, &error); @@ -304,8 +304,8 @@ void gnt_style_read_configure_file(const char *filename) { #if GLIB_CHECK_VERSION(2,6,0) + GError *error = NULL; gkfile = g_key_file_new(); - GError *error = NULL; if (!g_key_file_load_from_file(gkfile, filename, G_KEY_FILE_NONE, &error)) { diff -r 71404dbedabc -r 29c6bec37b96 console/libgnt/wms/s.c --- a/console/libgnt/wms/s.c Sat Oct 28 20:05:27 2006 +0000 +++ b/console/libgnt/wms/s.c Sat Oct 28 20:06:33 2006 +0000 @@ -169,6 +169,7 @@ envelope_normal_window(window); } +void gntwm_init(GntWM *wm); void gntwm_init(GntWM *wm) { gwm = wm;