Use of libpurple functions

Eoin Coffey ecoffey at gmail.com
Tue Jul 17 16:52:01 EDT 2007


I think Eric is broken...

Anyways this is the specific function you want:
http://developer.pidgin.im/doxygen/dev/html/account_8h.html#a94c49287371e2c59fd781229f7a050b


you pass it a PurpleAccount* not a char*.

-Eoin

P.S. I'm broken 'cause I always forget to hit "Reply to all" in gmail so it
doesn't get sent to devel :-P

On 7/17/07, Eric Polino <aluink at gmail.com> wrote:
>
> On 7/17/07, Markus Zuercher <zuerchermarkus at gmail.com> wrote:
> > Hi
> >
> > I just managed to write a hello-world plugin by using the HowTo on
> > developer.pidgin.im.
> >
> > I tried to use some libpurple functions but when I compile the plugin
> > and try to start Pidgin (Linux), the client does not start (or, not
> > the GUI).
> >
> > For an example, I wanted to code a little plugin which disconnects my
> > MSN account. I pasted the code to pastebin [1].
> >
> > Do I use it wrong? I just read the account.h file, and as far as I can
> > see, the purple_account_disconnect() function has just one parameter:
> > the account.
> >
> > What am I doing wrong? :-(
>
> I'm not sure about this, but couldn't you just use the prefs module
> already built into purple?  This is what is used everywhere to keep
> track of configurations.  I'm not sure on what our practice for
> storing plugin prefs, another dev will have to confirm this for you.
>
> > Many Thanks!
> > Markus
> >
> > [1] http://pastebin.com/m31105072
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at pidgin.im
> > http://pidgin.im/cgi-bin/mailman/listinfo/devel
> >
>
>
> --
> http://aluink.blogspot.com
>
> --
> "...indexable arrays, which may be thought of as functions whose
> domains are isomorphic to contiguous subsets of the integers."
> --Haskell 98 Library Report
>
> _______________________________________________
> Devel mailing list
> Devel at pidgin.im
> http://pidgin.im/cgi-bin/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20070717/620b63cd/attachment.html>


More information about the Devel mailing list