Mercurial > pidgin
view finch/gntnotify.h @ 17114:8ed7b2d32ad1
slpcall now explicitlt references its xfer and unreferences it when it is destroyed. While it *looks* like this should *probably* have happened anyways due to the interactins between xfer_init, xfer_end, and xfer_cancel_remote, having the xfer's owner make this explicit makes the process less fragile and more obvious, and it may fix a crash as the slp is destroyed. Fixes #1070
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Thu, 17 May 2007 14:32:24 +0000 |
parents | 0f0832c13fcb |
children | 44b4e8bd759b |
line wrap: on
line source
/** * @file gntnotify.h GNT Notify API * @ingroup finch * * finch * * Finch is the legal property of its developers, whose names are too numerous * to list here. Please refer to the COPYRIGHT file distributed with this * source distribution. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _GNT_NOTIFY_H #define _GNT_NOTIFY_H #include "notify.h" /********************************************************************** * @name GNT Notify API **********************************************************************/ /*@{*/ /** * Get the ui-functions. * * @return The PurpleNotifyUiOps structure populated with the appropriate functions. */ PurpleNotifyUiOps *finch_notify_get_ui_ops(void); /** * Perform necessary initializations. */ void finch_notify_init(void); /** * Perform necessary uninitializations. */ void finch_notify_uninit(void); /*@}*/ #endif