Mercurial > pidgin
view doc/gtkimhtml-signals.dox @ 25605:9c0337d4b878
Fix the crash/leaks in statusbox
*** Plucked rev 0cb6e54b (darkrain42@pidgin.im):
Look up the old image before we store the new one in the hash table.
Looking up the new image and then unref:ing it (hence freeing the data
and subsequently returning it) is not good. This was causing problems
with changing buddy icons while using mystatusbox. Refs #9120.
*** Plucked rev d25c9ed7 (darkrain42@pidgin.im):
Don't leak image refs in gtkstatusbox and assertion failure in nullprpl
purple_imgstore_new_from_file gives us a ref and
pidgin_status_box_set_buddy_icon also takes a ref.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 06 May 2009 18:58:47 +0000 |
parents | e0613cf8c493 |
children | ffb8cd9fb528 |
line wrap: on
line source
/** @page gtkimhtml-signals GtkIMHtml Signals @signals @signal url_clicked @signal format_buttons_update @signal format_function_clear @signal format_function_toggle @signal format_function_update @endsignals @see gtkimhtml.h <hr> @signaldef url_clicked @signalproto void (*url_clicked)(GtkIMHtml *imhtml, char *uri); @endsignalproto @signaldesc Emitted when a link is clicked @param imhtml The GtkIMHtml emitting the signal. @param url The uri. @endsignaldef @signaldef format_buttons_update @signalproto void (*format_buttons_update)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); @endsignalproto @signaldesc Emitted when allowed formatting has changed. @param imhtml The GtkIMHtml emitting the signal. @param buttons GtkIMHtmlButtons for the GtkIMHtml. @param data User defined data. @endsignaldef @signaldef format_function_clear @signalproto void (*format_function_clear)(GtkIMHtml *imhtml, gpointer data); @endsignalproto @signaldesc Emitted when clearing the formatting for the GtkIMHtml. @param imhtml The GtkIMHtml emitting the signal. @param data User defined data. @endsignaldef @signaldef format_function_toggle @signalproto void (*format_function_toggle)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); @endsignalproto @signaldesc Emitted when a format has been toggled. @param imhtml The GtkIMHtml emitting the signal. @param buttons GtkIMHtmlButtons for the GtkIMHtml. @param data User defined data. @endsignaldef @signaldef format_function_update @signalproto void (*format_function_update)(GtkIMHtml *imhtml, gpointer data); @endsignalproto @signaldesc Emitted when the cursor has moved and formatting has changed @param imhtml The GtkIMHtml emitting the signal. @param data User defined data. @endsignaldef */ // vim: syntax=c.doxygen tw=75 et