libpurple/protocols/jabber/xmpp.h

Tue, 16 Aug 2022 00:18:33 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 16 Aug 2022 00:18:33 -0500
changeset 41501
e34ec115fc34
parent 40862
da09b67f08ab
permissions
-rw-r--r--

Move dialog buttons to action widgets

This will work in GTK4, but can be done now. I've skipped the widgets for which
this has already been done on the `gtk4` branch.

Testing Done:
Opened the dialogs and checked for dialog button. Mostly only just hit Close/Cancel though.

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

/* purple
 *
 * Purple 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., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
 *
 */

#ifndef PURPLE_JABBER_XMPP_H
#define PURPLE_JABBER_XMPP_H

#include "jabber.h"

#define XMPP_PROTOCOL_ID "prpl-jabber"

#define XMPP_TYPE_PROTOCOL (xmpp_protocol_get_type())
G_DECLARE_FINAL_TYPE(XMPPProtocol, xmpp_protocol, XMPP, PROTOCOL,
                     JabberProtocol)

/**
 * Registers the XMPPProtocol type in the type system.
 */
G_GNUC_INTERNAL
void xmpp_protocol_register(PurplePlugin *plugin);

G_GNUC_INTERNAL
PurpleProtocol *xmpp_protocol_new(void);

/**
 * Returns the GType for the XMPPProtocol object.
 */

#endif /* PURPLE_JABBER_XMPP_H */

mercurial