changeset 19528:b7fa8fa4de5b

Fix building on older glib versions. Get rid of a couple of compiler warnings.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 29 Aug 2007 06:18:49 +0000
parents bc23f7323ed2
children 7af9aba79a3b ecc6019f0a82 e2411ff184ba
files finch/gntcertmgr.c finch/gntrequest.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntcertmgr.c	Wed Aug 29 06:12:51 2007 +0000
+++ b/finch/gntcertmgr.c	Wed Aug 29 06:18:49 2007 +0000
@@ -24,6 +24,8 @@
  *
  */
 
+#include "internal.h"
+
 #include "certificate.h"
 #include "debug.h"
 #include "notify.h"
--- a/finch/gntrequest.c	Wed Aug 29 06:12:51 2007 +0000
+++ b/finch/gntrequest.c	Wed Aug 29 06:18:49 2007 +0000
@@ -198,7 +198,7 @@
 
 static void *
 finch_request_choice(const char *title, const char *primary,
-		const char *secondary, unsigned int default_value,
+		const char *secondary, int default_value,
 		const char *ok_text, GCallback ok_cb,
 		const char *cancel_text, GCallback cancel_cb,
 		PurpleAccount *account, const char *who, PurpleConversation *conv,
@@ -244,7 +244,7 @@
 
 static void*
 finch_request_action(const char *title, const char *primary,
-		const char *secondary, unsigned int default_value,
+		const char *secondary, int default_value,
 		PurpleAccount *account, const char *who, PurpleConversation *conv,
 		void *user_data, size_t actioncount,
 		va_list actions)