diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2023-03-11 04:33:46 -0600 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2023-03-11 04:33:46 -0600 |
commit | 87a49e6a4184128e6af135e2920f7b3ca8a21482 (patch) | |
tree | 1cfb024e45bf4b847ad7faa581398c99a08ddc30 /libpurple/purplerequestpage.c | |
parent | a01aa55fada72e214a0005a7e0b0d6cb502741fe (diff) | |
download | pidgin-87a49e6a4184128e6af135e2920f7b3ca8a21482.tar.gz |
Cleanup request field files
A variety of small followups to splitting the request objects into separate files:
* Make `PurpleRequestField` into an abstract type and drop the field type enum.
* Add request files to GObject introspection.
* Replace `purple_debug` with GLib logging.
* Remove extra `#include` where possible.
* Remove most early `typedef` which were there for `#include` loops.
* Put `G_DEFINE_TYPE` in a consistent place.
* Add `Since` tags to objects since they are new (but not the functions), and also to all of `PurpleRequestPage`/`PurpleRequestGroup` which were fully renamed.
* Use website for GNU reference in license header.
* Clean up old entries in `ChangeLog.API`.
Testing Done:
Compiled, then checked Class Hierarchy in docs and confirmed that the structs were now there.
Reviewed at https://reviews.imfreedom.org/r/2342/
Diffstat (limited to 'libpurple/purplerequestpage.c')
-rw-r--r-- | libpurple/purplerequestpage.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libpurple/purplerequestpage.c b/libpurple/purplerequestpage.c index 3535e5a584..ec1d99f55a 100644 --- a/libpurple/purplerequestpage.c +++ b/libpurple/purplerequestpage.c @@ -1,4 +1,6 @@ -/* purple +/* + * Purple - Internet Messaging Library + * Copyright (C) Pidgin Developers <devel@pidgin.im> * * 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 @@ -15,13 +17,11 @@ * 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 + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include <glib/gi18n-lib.h> -#include "glibcompat.h" #include "purplerequestpage.h" #include "request/purplerequestfieldaccount.h" #include "request/purplerequestfieldbool.h" @@ -40,8 +40,6 @@ struct _PurpleRequestPage { GList *required_fields; GList *validated_fields; - - void *ui_data; }; /****************************************************************************** |