pidgin: efb1c5e4: Get rid of a compile warning in qq:

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Aug 4 03:10:48 EDT 2008


-----------------------------------------------------------------
Revision: efb1c5e4382251975a52808c1719727741faa0b0
Ancestor: 0a1aca4e9483db7ba81ae564efdd2a81e3a813e8
Author: markdoliner at pidgin.im
Date: 2008-08-04T07:04:53
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/efb1c5e4382251975a52808c1719727741faa0b0

Modified files:
        libpurple/protocols/qq/qq.c

ChangeLog: 

Get rid of a compile warning in qq:

qq.c:762: warning: initialization makes integer from pointer without a cast
qq.c:762: warning: missing initializer
qq.c:762: warning: (near initialization for ‘prpl_info.get_account_text_table’)

-------------- next part --------------
============================================================
--- libpurple/protocols/qq/qq.c	240874a9e03051624b3258f1ddbcd212b8f083ea
+++ libpurple/protocols/qq/qq.c	d8f4f5b8cbd423c27fe98736d82c6fd9d757b5ca
@@ -689,7 +689,8 @@ static gchar *_qq_get_chat_buddy_real_na
 	return chat_name_to_purple_name(who);
 }
 
-static PurplePluginProtocolInfo prpl_info	= {
+static PurplePluginProtocolInfo prpl_info =
+{
 	OPT_PROTO_CHAT_TOPIC | OPT_PROTO_USE_POINTSIZE,
 	NULL,							/* user_splits	*/
 	NULL,							/* protocol_options */
@@ -752,11 +753,11 @@ static PurplePluginProtocolInfo prpl_inf
 	NULL,							/* PurpleWhiteboardPrplOps */
 	NULL,							/* send_raw */
 	NULL,							/* roomlist_room_serialize */
+	NULL,							/* unregister_user */
+	NULL,							/* send_attention */
+	NULL,							/* get attention_types */
 
-	/* padding */
-	NULL,
-	NULL,
-	NULL,
+	sizeof(PurplePluginProtocolInfo), /* struct_size */
 	NULL
 };
 


More information about the Commits mailing list