protocols/xmpp/purplexmppcore.h

Fri, 04 Oct 2024 01:08:05 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 04 Oct 2024 01:08:05 -0500
changeset 42998
9fae31173eb3
parent 42529
f00a798a38a6
permissions
-rw-r--r--

Remove Purple.Connection.error and its friends

This change means you need to call Purple.Account.set_error followed by
Purple.Account.disconnect. This will probably be cleaned up a bit in the future
but for now this lets us clean up a lot of old API.

Testing Done:
Connected demo and irc accounts. Verified that disconnects worked via the demo actions. Call in the turtles.

Reviewed at https://reviews.imfreedom.org/r/3566/

/*
 * Purple - Internet Messaging Library
 * Copyright (C) Pidgin Developers <devel@pidgin.im>
 *
 * 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, see <https://www.gnu.org/licenses/>.
 */
#ifndef PURPLE_XMPP_CORE_H
#define PURPLE_XMPP_CORE_H

#include <glib.h>

#define PURPLE_XMPP_DOMAIN (g_quark_from_static_string("xmpp-plugin"))

#endif /* PURPLE_XMPP_CORE_H */

mercurial