Wed, 01 Jan 2025 15:32:28 -0600
Prepare for the 2.90.1 release
Testing Done:
Ran `meson dist`
Reviewed at https://reviews.imfreedom.org/r/3716/
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
41414
b76bc2b4d7cc
Convert plugin actions to GMenu and GAction
Gary Kramlich <grim@reaperworld.com>
parents:
41124
diff
changeset
|
2 | * Pidgin - Internet Messenger |
|
b76bc2b4d7cc
Convert plugin actions to GMenu and GAction
Gary Kramlich <grim@reaperworld.com>
parents:
41124
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * source distribution. |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | * This program is free software; you can redistribute it and/or modify |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | * it under the terms of the GNU General Public License as published by |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | * the Free Software Foundation; either version 2 of the License, or |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | * (at your option) any later version. |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | * This program is distributed in the hope that it will be useful, |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | * GNU General Public License for more details. |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License |
|
41414
b76bc2b4d7cc
Convert plugin actions to GMenu and GAction
Gary Kramlich <grim@reaperworld.com>
parents:
41124
diff
changeset
|
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40379
diff
changeset
|
22 | |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40379
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:
40379
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:
40379
diff
changeset
|
25 | #endif |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40379
diff
changeset
|
26 | |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #ifndef PIDGIN_PLUGINS_MENU_H |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | #define PIDGIN_PLUGINS_MENU_H |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | |
|
41124
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
30 | #include <gtk/gtk.h> |
|
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
31 | |
|
42465
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41414
diff
changeset
|
32 | #include "pidginversion.h" |
|
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41414
diff
changeset
|
33 | |
|
41124
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
34 | G_BEGIN_DECLS |
|
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
35 | |
|
40377
be51a9f44cea
Fix up the docs for PidginBuddyListMenu and PidginPluginsMenu.
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
36 | /** |
|
41124
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
37 | * PidginPluginsMenu: |
|
40377
be51a9f44cea
Fix up the docs for PidginBuddyListMenu and PidginPluginsMenu.
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
38 | * |
|
41414
b76bc2b4d7cc
Convert plugin actions to GMenu and GAction
Gary Kramlich <grim@reaperworld.com>
parents:
41124
diff
changeset
|
39 | * #PidginPluginsMenu is a [class@Gio.MenuModel] that automatically updates |
|
b76bc2b4d7cc
Convert plugin actions to GMenu and GAction
Gary Kramlich <grim@reaperworld.com>
parents:
41124
diff
changeset
|
40 | * itself when plugins are loaded and unloaded. |
|
41124
95555046173e
Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
41 | * |
|
42620
72178a341eb8
Remove minor versions from Since tags in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42467
diff
changeset
|
42 | * Since: 3.0 |
|
40377
be51a9f44cea
Fix up the docs for PidginBuddyListMenu and PidginPluginsMenu.
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
43 | */ |
|
be51a9f44cea
Fix up the docs for PidginBuddyListMenu and PidginPluginsMenu.
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
44 | |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | #define PIDGIN_TYPE_PLUGINS_MENU (pidgin_plugins_menu_get_type()) |
|
42465
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41414
diff
changeset
|
46 | |
|
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41414
diff
changeset
|
47 | PIDGIN_AVAILABLE_IN_3_0 |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | G_DECLARE_FINAL_TYPE(PidginPluginsMenu, pidgin_plugins_menu, PIDGIN, |
|
41414
b76bc2b4d7cc
Convert plugin actions to GMenu and GAction
Gary Kramlich <grim@reaperworld.com>
parents:
41124
diff
changeset
|
49 | PLUGINS_MENU, GMenuModel) |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | /** |
|
40377
be51a9f44cea
Fix up the docs for PidginBuddyListMenu and PidginPluginsMenu.
Gary Kramlich <grim@reaperworld.com>
parents:
40373
diff
changeset
|
52 | * pidgin_plugins_menu_new: |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | * |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | * Creates a new #PidginPluginsMenu instance that keeps itself up to date. |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | * |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | * Returns: (transfer full): The new #PidginPluginsMenu instance. |
|
42467
2b1d9d0770f2
Add Since and symbol visibility on remaining Pidgin API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42465
diff
changeset
|
57 | * |
|
42620
72178a341eb8
Remove minor versions from Since tags in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42467
diff
changeset
|
58 | * Since: 3.0 |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | */ |
|
42467
2b1d9d0770f2
Add Since and symbol visibility on remaining Pidgin API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42465
diff
changeset
|
60 | PIDGIN_AVAILABLE_IN_3_0 |
|
41414
b76bc2b4d7cc
Convert plugin actions to GMenu and GAction
Gary Kramlich <grim@reaperworld.com>
parents:
41124
diff
changeset
|
61 | GMenuModel *pidgin_plugins_menu_new(void); |
|
40373
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | G_END_DECLS |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | |
|
5d2a493339f2
Add the new PidginPluginsMenu which manages itself when plugins and loaded/unloaded.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
65 | #endif /* PIDGIN_PLUGINS_MENU_H */ |