[Pidgin] #6562: perl enhancments/cleanup for Prefs/Certificate/Util.xs
Pidgin
trac at pidgin.im
Mon Aug 11 03:22:40 EDT 2008
#6562: perl enhancments/cleanup for Prefs/Certificate/Util.xs
-----------------------------------------+----------------------------------
Reporter: zdeqb | Owner: lschiere
Type: patch | Status: new
Component: unclassified | Version:
Keywords: perl prefs util certificate |
-----------------------------------------+----------------------------------
This patch contains various 'enhancements' from my local tree...
which were left out from #5912, #4844 and #5957 by me.
1. Removes a warning in Certifcate.xs
2. Modifies the various `purple_prefs_{add,set}_{path,string}_list()`
bindings,
so that the list can be specified as a 'list' or an 'array ref'
(passing a list feels more perlish ;-):
{{{
Purple::Prefs::set_string_list('/lala', 'string1', 'string2');
}}}
or
{{{
Purple::Prefs::set_string_list('/lala', ['string1', 'string2']);
}}}
3. The bindings for purple_util_chrreplace/purple_str_strip_char caused a
sigsegv for me (as of aff59a95703...),
so I've modified them to work...
Both functions still modify the string in place...
--
Ticket URL: <http://developer.pidgin.im/ticket/6562>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list