Thu, 21 Jul 2022 01:10:22 -0500
Update pidgin for the purple_account_manager_get_(in)active deprecations
Testing Done:
Compiled and made sure the menus still functioned as expected.
Reviewed at https://reviews.imfreedom.org/r/1536/
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
1 | /* |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
2 | * Pidgin - Internet Messenger |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
| 15094 | 4 | * |
| 15572 | 5 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 15094 | 6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 7 | * source distribution. | |
| 8 | * | |
| 9 | * This program is free software; you can redistribute it and/or modify | |
| 10 | * it under the terms of the GNU General Public License as published by | |
| 11 | * the Free Software Foundation; either version 2 of the License, or | |
| 12 | * (at your option) any later version. | |
| 13 | * | |
| 14 | * This program is distributed in the hope that it will be useful, | |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | * GNU General Public License for more details. | |
| 18 | * | |
| 19 | * You should have received a copy of the GNU General Public License | |
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. |
| 15094 | 21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35451
diff
changeset
|
22 | |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
35487
diff
changeset
|
23 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
35487
diff
changeset
|
24 | # error "only <pidgin.h> may be included directly" |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
35487
diff
changeset
|
25 | #endif |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
35487
diff
changeset
|
26 | |
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
27 | #ifndef PIDGIN_SCROLL_BOOK_H |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
28 | #define PIDGIN_SCROLL_BOOK_H |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
29 | /** |
|
41124
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
40893
diff
changeset
|
30 | * PidginScrollBook: |
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
31 | * |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
32 | * This widget is used to show error messages in the buddy list window. |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
33 | */ |
| 15094 | 34 | |
| 35 | #include <gtk/gtk.h> | |
| 36 | ||
| 37 | G_BEGIN_DECLS | |
| 38 | ||
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
39 | #define PIDGIN_TYPE_SCROLL_BOOK (pidgin_scroll_book_get_type ()) |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
40 | G_DECLARE_FINAL_TYPE(PidginScrollBook, pidgin_scroll_book, PIDGIN, SCROLL_BOOK, |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
41 | GtkBox) |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
21670
diff
changeset
|
42 | |
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
43 | /** |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
44 | * pidgin_scroll_book_new: |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
45 | * |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
46 | * Creates a new #PidginScrollBook. |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
47 | * |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
48 | * Returns: (transfer full): The new #PidginScrollBook instance. |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
49 | */ |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
50 | GtkWidget *pidgin_scroll_book_new(void); |
| 15094 | 51 | |
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
52 | /** |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
53 | * pidgin_scroll_book_get_notebook: |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
54 | * @scroll_book: The #PidginScrollBook instance. |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
55 | * |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
56 | * Gets the notebook widget from @scroll_book. |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
57 | * |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
58 | * Returns: (transfer none): The notebook inside of @scroll_book. |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
59 | */ |
|
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
60 | GtkWidget *pidgin_scroll_book_get_notebook(PidginScrollBook *scroll_book); |
| 15094 | 61 | |
| 62 | G_END_DECLS | |
| 63 | ||
|
40893
0131c0786803
Clean up the scroll book widget a bit
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
64 | #endif /* PIDGIN_SCROLL_BOOK_H */ |