Mercurial > pidgin.yaz
view plugins/perl/perl-handlers.h @ 6861:4ae5d9c3d9ec
[gaim-migrate @ 7407]
You know the thing that checked if the manual browser command was valid?
I moved the funcion that does the actual checking into util.c It's pretty
generic, I guess.
I moved the check (the call to that function) to browser.c, so it checks
for a valid browser when you click on a link. The old way used to really
annoy me, because you would get multiple error boxes about the browser
being invalid.
Herman, I tried to keep things compiling on Windows. I didn't want to
#ifdef the program_is_valid() function in util.c--I don't see any
reason why it wouldn't compile in Windows. But if there's a problem
with it feel free to #ifdef that puppy.
Also, Nathan, I'm going to quiz you later on my townhousemates, so
please bring a number two pencil and make sure you eat a healthy breakfast.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 16 Sep 2003 04:57:36 +0000 |
parents | 33486b749aa9 |
children | 4315bb5f427b |
line wrap: on
line source
#ifndef _GAIM_PERL_HANDLERS_H_ #define _GAIM_PERL_HANDLERS_H_ #include "plugin.h" typedef struct { SV *callback; SV *data; GaimPlugin *plugin; int iotag; } GaimPerlTimeoutHandler; typedef struct { char *signal; SV *callback; SV *data; void *instance; GaimPlugin *plugin; } GaimPerlSignalHandler; void gaim_perl_timeout_add(GaimPlugin *plugin, int seconds, SV *callback, SV *data); void gaim_perl_timeout_clear_for_plugin(GaimPlugin *plugin); void gaim_perl_timeout_clear(void); void gaim_perl_signal_connect(GaimPlugin *plugin, void *instance, const char *signal, SV *callback, SV *data); void gaim_perl_signal_disconnect(GaimPlugin *plugin, void *instance, const char *signal); void gaim_perl_signal_clear_for_plugin(GaimPlugin *plugin); void gaim_perl_signal_clear(void); #endif /* _GAIM_PERL_HANDLERS_H_ */