Thu, 26 Mar 2020 21:17:25 -0500
Fix some compile errors
|
39887
9c8f874c74a0
Clean up all of the license headers
Gary Kramlich <grim@reaperworld.com>
parents:
39885
diff
changeset
|
1 | /* |
|
9c8f874c74a0
Clean up all of the license headers
Gary Kramlich <grim@reaperworld.com>
parents:
39885
diff
changeset
|
2 | * finch |
|
32850
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
3 | * |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
4 | * Finch is the legal property of its developers, whose names are too numerous |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
5 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
6 | * source distribution. |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
7 | * |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
8 | * This program is free software; you can redistribute it and/or modify |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
9 | * it under the terms of the GNU General Public License as published by |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
10 | * the Free Software Foundation; either version 2 of the License, or |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
11 | * (at your option) any later version. |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
12 | * |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
13 | * This program is distributed in the hope that it will be useful, |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
16 | * GNU General Public License for more details. |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
17 | * |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
18 | * You should have received a copy of the GNU General Public License |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
19 | * along with this program; if not, write to the Free Software |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
22 | |
|
39885
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39481
diff
changeset
|
23 | #ifndef FINCH_MENUUTIL_H |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39481
diff
changeset
|
24 | #define FINCH_MENUUTIL_H |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39481
diff
changeset
|
25 | |
|
35449
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
26 | /** |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
27 | * SECTION:gntmenuutil |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
28 | * @section_id: finch-gntmenuutil |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
29 | * @short_description: <filename>gntmenuutil.h</filename> |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
30 | * @title: Menu Utility functions |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
31 | */ |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
32 | |
|
39479
4da996236e9b
Move the MenuAction stuff to the new action.[ch] files
Gary Kramlich <grim@reaperworld.com>
parents:
37099
diff
changeset
|
33 | #include <action.h> |
|
4da996236e9b
Move the MenuAction stuff to the new action.[ch] files
Gary Kramlich <grim@reaperworld.com>
parents:
37099
diff
changeset
|
34 | |
|
32850
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
35 | #include <gnt.h> |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
36 | #include <gntmenu.h> |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
37 | |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
38 | /*************************************************************************** |
| 35472 | 39 | * GNT Menu Utility Functions |
|
32850
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
40 | ***************************************************************************/ |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
41 | |
|
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
42 | /** |
|
35494
e631108a5464
Fix namespace issues in libgnt and finch.
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
43 | * finch_append_menu_action: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
32850
diff
changeset
|
44 | * @menu: the GntMenu to add to |
|
39481
4db28449567d
Rename PurpleMenuAction to PurpleActionMenu
Gary Kramlich <grim@reaperworld.com>
parents:
39479
diff
changeset
|
45 | * @action: the PurpleActionMenu to add |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
32850
diff
changeset
|
46 | * @ctx: the callback context, passed as the first argument to |
|
39481
4db28449567d
Rename PurpleMenuAction to PurpleActionMenu
Gary Kramlich <grim@reaperworld.com>
parents:
39479
diff
changeset
|
47 | * the PurpleActionMenu's PurpleCallback function. |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
48 | * |
|
39481
4db28449567d
Rename PurpleMenuAction to PurpleActionMenu
Gary Kramlich <grim@reaperworld.com>
parents:
39479
diff
changeset
|
49 | * Add a PurpleActionMenu to a GntMenu. |
|
32850
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
50 | */ |
|
39481
4db28449567d
Rename PurpleMenuAction to PurpleActionMenu
Gary Kramlich <grim@reaperworld.com>
parents:
39479
diff
changeset
|
51 | void finch_append_menu_action(GntMenu *menu, PurpleActionMenu *action, gpointer ctx); |
|
32850
79912ff55187
I should probably add these files, too...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
52 | |
|
39885
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39481
diff
changeset
|
53 | #endif /* FINCH_MENUUTIL_H */ |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39481
diff
changeset
|
54 |