Use of libpurple functions

Eoin Coffey ecoffey at gmail.com
Tue Jul 17 20:11:47 EDT 2007


Hehe yeah I read that thread.  No harm no foul little buddy ;-)

-Eoin

On 7/17/07, Eric Polino <aluink at gmail.com> wrote:
>
> On 7/17/07, Eoin Coffey <ecoffey at gmail.com> wrote:
> > I think Eric is broken...
>
> I am broken, that message was meant for another thread.  I forgot to
> hit reply-to-all also, so i copied the message, but into the wrong
> message of the thread.  GMail conversations are nice, but can be kinda
> nasty when you send a reply to the wrong message of a given thread.
> My comment was in reply to reloading config files.  Another message
> told him to use a PurpleAccount * instead of a char *.
>
> >
> > 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
> > >
> >
> >
>
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20070717/3c9aabfe/attachment.html>


More information about the Devel mailing list