Thu, 07 Aug 2025 21:32:18 -0500
Clean up and modernize PurpleImage
Testing Done:
Ran the tests under valgrind and called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/4074/
| 43293 | 1 | /* |
| 2 | * Purple - Internet Messaging Library | |
| 3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> | |
| 4 | * | |
| 5 | * Purple is the legal property of its developers, whose names are too numerous | |
| 6 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 7 | * source distribution. | |
| 8 | * | |
| 9 | * This library is free software; you can redistribute it and/or modify it | |
| 10 | * under the terms of the GNU General Public License as published by the Free | |
| 11 | * Software Foundation; either version 2 of the License, or (at your option) | |
| 12 | * any later version. | |
| 13 | * | |
| 14 | * This library is distributed in the hope that it will be useful, but WITHOUT | |
| 15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
| 17 | * more details. | |
| 18 | * | |
| 19 | * You should have received a copy of the GNU General Public License along with | |
| 20 | * this library; if not, see <https://www.gnu.org/licenses/>. | |
| 21 | */ | |
| 22 | ||
| 23 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) | |
| 24 | # error "only <purple.h> may be included directly" | |
| 25 | #endif | |
| 26 | ||
| 27 | #ifndef PURPLE_SCHEDULER_PRIVATE_H | |
| 28 | #define PURPLE_SCHEDULER_PRIVATE_H | |
| 29 | ||
| 30 | #include <glib.h> | |
| 31 | ||
| 32 | G_BEGIN_DECLS | |
| 33 | ||
| 34 | /** | |
| 35 | * purple_scheduler_startup: (skip) | |
| 36 | * | |
| 37 | * Starts up the scheduler by creating the default instance. | |
| 38 | * | |
| 39 | * Since: 3.0 | |
| 40 | */ | |
| 41 | G_GNUC_INTERNAL | |
| 42 | void purple_scheduler_startup(void); | |
| 43 | ||
| 44 | /** | |
| 45 | * purple_scheduler_shutdown: (skip) | |
| 46 | * | |
| 47 | * Shuts down the scheduler by destroying the default instance. | |
| 48 | * | |
| 49 | * Since: 3.0 | |
| 50 | */ | |
| 51 | G_GNUC_INTERNAL | |
| 52 | void purple_scheduler_shutdown(void); | |
| 53 | ||
| 54 | G_END_DECLS | |
| 55 | ||
| 56 | #endif /* PURPLE_SCHEDULER_PRIVATE_H */ |