changeset 14839:29c6bec37b96

[gaim-migrate @ 17608] More compile warning fixes committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 28 Oct 2006 20:06:33 +0000
parents 71404dbedabc
children b8eb759625b0
files console/libgnt/gntstyle.c console/libgnt/wms/s.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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))
 	{
--- 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;