Mercurial > pidgin
view doc/blist-signals.dox @ 7450:685736e14aac
[gaim-migrate @ 8061]
from bug #836143
-----------------------------------------------------------------
Date: 2003-11-06 17:19
Sender: zuperdee
Logged In: YES
user_id=347499
Alright folks, I HAVE A FIX!!!! I repeat, I HAVE A FIX!!!!!!!!!
Basically, this is what was wrong: the
account_win_destroy_cb function was failing to destroy the
window when the "window delete" event was happening.
I
reviewed the code, and it appears there are only 2 places
where that function is called, and in BOTH cases,
gtk_widget_destroy(dialog->window) was called before calling
account_win_destroy_cb. That's ugly!!!! So, my patch
rearranges things so gtk_widget_destroy is called at the
beginning of account_win_destroy_cb. That way, it *DOES*
destroy the window as it is supposed to, and it removes a
couple unnecessary lines of code. Woohoo!!!!!!!!!
I've tested it here on my own system, and it appears to
work, but I'd appreciate it if someone else could verify my
fix before it is checked in (should it be accepted).
The fix is in Patch #837542 here on Sourceforge. :-)
Yours Truly,
Daniel
(Yes, I am excited!!! I just fixed a problem in Gaim that
has been bugging me for some time. I *HATE* instability...
Call me the Segfault Avenger. ;-))
---------------------------------------------------------------
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 06 Nov 2003 23:29:40 +0000 |
parents | 34eaa941ecd6 |
children | 826013efffcb |
line wrap: on
line source
/** @page blist-signals Buddy List Signals @signals @signal buddy-away @signal buddy-back @signal buddy-idle @signal buddy-unidle @signal buddy-signed-on @signal buddy-signed-off @signal update-idle @endsignals <hr> @signaldef buddy-away @signalproto void (*buddy_away)(struct buddy *buddy); @endsignalproto @signaldesc Emitted when a buddy on your buddy list goes away. @param buddy The buddy that went away. @endsignaldef @signaldef buddy-back @signalproto void (*buddy_back)(struct buddy *buddy); @endsignalproto @signaldesc Emitted when a buddy on your buddy list comes back from being away. @param buddy The buddy that came back from being away. @endsignaldef @signaldef buddy-idle @signalproto void (*buddy_idle)(struct buddy *buddy); @endsignalproto @signaldesc Emitted when a buddy on your buddy list becomes idle. @param buddy The buddy that became idle. @endsignaldef @signaldef buddy-unidle @signalproto void (*buddy_unidle)(struct buddy *buddy); @endsignalproto @signaldesc Emitted when a buddy on your buddy list returns from being idle. @param buddy The buddy that returned from being idle. @endsignaldef @signaldef buddy-signed-on @signalproto void (*buddy_signed_on)(struct buddy *buddy); @endsignalproto @signaldesc Emitted when a buddy on your buddy list signs on. @param buddy The buddy that signed on. @endsignaldef @signaldef buddy-signed-off @signalproto void (*buddy_signed_off)(struct buddy *buddy); @endsignalproto @signaldesc Emitted when a buddy on your buddy list signs off. @param buddy The buddy that signed off. @endsignaldef @signaldef update-idle @signalproto void (*update_idle)(); @endsignalproto @signaldesc Emitted when the buddy list is refreshed and the idle times are updated. @endsignaldef */ // vim: syntax=c tw=75 et