Replace functions which called once with their bodies
[pidgin-git.git] / finch / gntmenuutil.h
blob5b1750b3ae22cf6a6a02c3cdbef93176b22fabef
1 /*
2 * finch
4 * Finch is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
23 #ifndef FINCH_MENUUTIL_H
24 #define FINCH_MENUUTIL_H
26 /**
27 * SECTION:gntmenuutil
28 * @section_id: finch-gntmenuutil
29 * @short_description: <filename>gntmenuutil.h</filename>
30 * @title: Menu Utility functions
33 #include <action.h>
35 #include <gnt.h>
36 #include <gntmenu.h>
38 /***************************************************************************
39 * GNT Menu Utility Functions
40 ***************************************************************************/
42 /**
43 * finch_append_menu_action:
44 * @menu: the GntMenu to add to
45 * @action: the PurpleActionMenu to add
46 * @ctx: the callback context, passed as the first argument to
47 * the PurpleActionMenu's PurpleCallback function.
49 * Add a PurpleActionMenu to a GntMenu.
51 void finch_append_menu_action(GntMenu *menu, PurpleActionMenu *action, gpointer ctx);
53 #endif /* FINCH_MENUUTIL_H */