diff libpurple/protocols/myspace/message.h @ 18897:d0be4366e876

Change msim_msg_new() and msim_msg_new_v() to accept the first key name as the first argument, instead of a boolean value indicating that variadic arguments follow. So now, you don't need to pass TRUE as the first argument all the time. NULL can still be passed in the first argument (well, instead of FALSE) to create a new empty message.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 11 Aug 2007 17:57:19 +0000
parents f732d072b118
children c0888d137172
line wrap: on
line diff
--- a/libpurple/protocols/myspace/message.h	Sat Aug 11 06:22:21 2007 +0000
+++ b/libpurple/protocols/myspace/message.h	Sat Aug 11 17:57:19 2007 +0000
@@ -47,7 +47,7 @@
 gchar *msim_escape(const gchar *msg);
 gchar *msim_unescape(const gchar *msg);
 
-MsimMessage *msim_msg_new(gboolean not_empty, ...);
+MsimMessage *msim_msg_new(gchar *first_key, ...);
 /* No sentinel attribute, because can leave off varargs if not_empty is FALSE. */
 
 MsimMessage *msim_msg_clone(MsimMessage *old);